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) => {
-
-
-
-
{
v-else
:class="[ns.e('noData')]"
>
-
+
{{t('er.form.addSignature')}}
-
+
diff --git a/packages/formEditor/components/FormTypes/Signature/pc.vue b/packages/formEditor/components/FormTypes/Signature/pc.vue
index daef74e..e92b8dd 100644
--- a/packages/formEditor/components/FormTypes/Signature/pc.vue
+++ b/packages/formEditor/components/FormTypes/Signature/pc.vue
@@ -5,7 +5,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: {}
}
@@ -60,6 +60,7 @@ const handleOpen = () => {
})
}
const handleReOpen = () => {
+ if (props.params.disabled) return false
dialogVisible.value = true
showClear.value = false
changed.value = false
@@ -105,13 +106,24 @@ const handleCommit = async () => {
:fit="'contain'"
style="width: 100%; height: 100%;"
/>
-
+
-
+
{{ 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
})
}