From e439a722108b928cf345f2ac18d512442f2349d4 Mon Sep 17 00:00:00 2001 From: xingyu Date: Sat, 28 Jan 2023 09:25:49 +0800 Subject: [PATCH] fix: warn --- yudao-ui-admin-vue3/src/utils/formCreate.ts | 2 +- .../src/views/bpm/form/formEditor.vue | 1 - .../src/views/bpm/form/index.vue | 5 ++--- .../src/views/bpm/group/index.vue | 1 - .../src/views/bpm/model/index.vue | 6 ++---- .../src/views/bpm/oa/leave/create.vue | 1 - .../src/views/bpm/oa/leave/detail.vue | 1 - .../src/views/bpm/processInstance/create.vue | 6 +++--- .../src/views/bpm/processInstance/detail.vue | 21 +++++++++---------- 9 files changed, 18 insertions(+), 26 deletions(-) diff --git a/yudao-ui-admin-vue3/src/utils/formCreate.ts b/yudao-ui-admin-vue3/src/utils/formCreate.ts index fccc0dc75..6d7dbc7ff 100644 --- a/yudao-ui-admin-vue3/src/utils/formCreate.ts +++ b/yudao-ui-admin-vue3/src/utils/formCreate.ts @@ -41,7 +41,7 @@ export const setConfAndFields2 = ( detailPreview: object, conf: string, fields: string, - value: object + value?: object ) => { // @ts-ignore detailPreview.value.option = JSON.parse(conf) diff --git a/yudao-ui-admin-vue3/src/views/bpm/form/formEditor.vue b/yudao-ui-admin-vue3/src/views/bpm/form/formEditor.vue index d53791418..52b3709dd 100644 --- a/yudao-ui-admin-vue3/src/views/bpm/form/formEditor.vue +++ b/yudao-ui-admin-vue3/src/views/bpm/form/formEditor.vue @@ -43,7 +43,6 @@