File tree Expand file tree Collapse file tree 3 files changed +9
-5
lines changed
components/dynamics-form/constructor/items Expand file tree Collapse file tree 3 files changed +9
-5
lines changed Original file line number Diff line number Diff line change @@ -39,9 +39,12 @@ interface chatType {
3939 record_id : string
4040 chat_id : string
4141 vote_status : string
42- status ?: number ,
42+ status ?: number
4343 execution_details : any [ ]
44- upload_meta ?: any [ ]
44+ upload_meta ?: {
45+ document_list : Array < any >
46+ image_list : Array < any >
47+ }
4548}
4649
4750export class ChatRecordManage {
Original file line number Diff line number Diff line change @@ -88,7 +88,7 @@ const delOption = (index: number) => {
8888 formValue .value .option_list .splice (index , 1 )
8989}
9090const formField = computed (() => {
91- return getData ()
91+ return { field: ' ' , ... getData () }
9292})
9393const getData = () => {
9494 return {
Original file line number Diff line number Diff line change 6363<script setup lang="ts">
6464import { computed , onMounted } from ' vue'
6565import RadioRow from ' @/components/dynamics-form/items/radio/RadioRow.vue'
66+ import type { FormField } from ' @/components/dynamics-form/type'
6667const props = defineProps <{
6768 modelValue: any
6869}>()
@@ -87,8 +88,8 @@ const delOption = (index: number) => {
8788 }
8889 formValue .value .option_list .splice (index , 1 )
8990}
90- const formField = computed (() => {
91- return getData ()
91+ const formField = computed < FormField > (() => {
92+ return { field: ' ' , ... getData () }
9293})
9394const getData = () => {
9495 return {
You can’t perform that action at this time.
0 commit comments