From 44fbb44b6c3aacb359502dadb56dc0b8af2d50eb Mon Sep 17 00:00:00 2001 From: Liberty Date: Mon, 18 Sep 2023 17:09:01 +0800 Subject: [PATCH] fix(formType-signature): fixed disabled status --- .../components/FormTypes/Signature/mobile.vue | 16 +++++++++------- .../components/FormTypes/Signature/pc.vue | 18 +++++++++++++++--- packages/formEditor/index.vue | 2 +- 3 files changed, 25 insertions(+), 11 deletions(-) diff --git a/packages/formEditor/components/FormTypes/Signature/mobile.vue b/packages/formEditor/components/FormTypes/Signature/mobile.vue index c6713a6..34d206d 100644 --- a/packages/formEditor/components/FormTypes/Signature/mobile.vue +++ b/packages/formEditor/components/FormTypes/Signature/mobile.vue @@ -6,7 +6,7 @@ import Icon from '@ER/icon' import utils from '@ER/utils' import hooks from '@ER/hooks' export default { - name: 'er-button', + name: 'er-signature', inheritAttrs: false, customOptions: {} } @@ -108,10 +108,6 @@ const handleAction = async (type) => { -
- + {{ t('er.form.addSignature') }}
diff --git a/packages/formEditor/index.vue b/packages/formEditor/index.vue index 43554d7..0bcafb8 100644 --- a/packages/formEditor/index.vue +++ b/packages/formEditor/index.vue @@ -325,7 +325,7 @@ const getData2 = () => { layout, data: state.data, config: state.config, - fields: fields, + fields, logic: state.logic }) }