From d03d090336f13817570f228bb851a66ffd1a030c Mon Sep 17 00:00:00 2001 From: Jerry <707344974@qq.com> Date: Sat, 17 Aug 2024 16:09:53 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dbug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- OrangeFormsOpen-VUE3/src/components/Dialog/index.ts | 1 - .../components/CustomWidgetDictSetting/index.vue | 1 + .../src/pages/online/OnlinePageRender/hooks/useForm.ts | 2 -- 3 files changed, 1 insertion(+), 3 deletions(-) diff --git a/OrangeFormsOpen-VUE3/src/components/Dialog/index.ts b/OrangeFormsOpen-VUE3/src/components/Dialog/index.ts index 6deb059e..ac9f1f29 100644 --- a/OrangeFormsOpen-VUE3/src/components/Dialog/index.ts +++ b/OrangeFormsOpen-VUE3/src/components/Dialog/index.ts @@ -145,7 +145,6 @@ function showDialog(title: string, params?: ANY_OBJECT, options?: ANY_OBJECT) { dialogKey; dlgUrl += '&thirdParamsString=' + encodeURIComponent(JSON.stringify(paramsCopy)); - const data = { title: title, dlgFullScreen: options.fullscreen, diff --git a/OrangeFormsOpen-VUE3/src/online/components/WidgetAttributeSetting/components/CustomWidgetDictSetting/index.vue b/OrangeFormsOpen-VUE3/src/online/components/WidgetAttributeSetting/components/CustomWidgetDictSetting/index.vue index 97861731..6868a562 100644 --- a/OrangeFormsOpen-VUE3/src/online/components/WidgetAttributeSetting/components/CustomWidgetDictSetting/index.vue +++ b/OrangeFormsOpen-VUE3/src/online/components/WidgetAttributeSetting/components/CustomWidgetDictSetting/index.vue @@ -115,6 +115,7 @@ const emitChange = (info: ANY_OBJECT) => { }); }; const handlerEditOperate = (row: ANY_OBJECT | null, res: ANY_OBJECT) => { + if (res == null) return; if (!row) { emitChange({ dictId: props.value.dictId, diff --git a/OrangeFormsOpen-VUE3/src/pages/online/OnlinePageRender/hooks/useForm.ts b/OrangeFormsOpen-VUE3/src/pages/online/OnlinePageRender/hooks/useForm.ts index 9671ed53..adbfda07 100644 --- a/OrangeFormsOpen-VUE3/src/pages/online/OnlinePageRender/hooks/useForm.ts +++ b/OrangeFormsOpen-VUE3/src/pages/online/OnlinePageRender/hooks/useForm.ts @@ -151,7 +151,6 @@ export const useForm = (props: ANY_OBJECT, formRef: Ref | null = n return true; }; const onValueChange = (widget: ANY_OBJECT, value: ANY_OBJECT) => { - console.log('useForm.onValueChange', widget, value); if (props.isEdit || !isReady.value) return; if (widget.bindData.dataType === SysCustomWidgetBindDataType.Column && widget.column) { // 绑定从表字段 @@ -169,7 +168,6 @@ export const useForm = (props: ANY_OBJECT, formRef: Ref | null = n ) { formData.customField[widget.bindData.formFieldName] = value; } - console.log('useForm.onValueChange formData', formData); }; const onWidgetValueChange = ( widget: ANY_OBJECT,