From 186942636ec8b7ae45f37a26911c11f292e418b7 Mon Sep 17 00:00:00 2001 From: liberty Date: Sun, 9 Apr 2023 12:20:21 +0800 Subject: [PATCH 1/2] fix: fixed html file size and uploaded image url --- package.json | 2 +- packages/formEditor/components/FormTypes/Uploadfile/pc.vue | 2 +- .../components/Panels/Config/components/BackgroundComponent.vue | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 7835f98..17cd94d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "everright-formeditor", - "version": "1.0.1", + "version": "1.0.2", "files": [ "dist", "packages/formEditor/componentsConfig.js" diff --git a/packages/formEditor/components/FormTypes/Uploadfile/pc.vue b/packages/formEditor/components/FormTypes/Uploadfile/pc.vue index fa261c8..fc4ae7d 100644 --- a/packages/formEditor/components/FormTypes/Uploadfile/pc.vue +++ b/packages/formEditor/components/FormTypes/Uploadfile/pc.vue @@ -55,7 +55,7 @@ const handlePictureCardPreview = (uploadFile) => { const beforeAvatarUpload = (rawFile) => { if (rawFile.size > props.params.maxSize) { ElMessage({ - message: t('er.validateMsg.fileSize', { size: props.data.size }), + message: t('er.validateMsg.fileSize', { size: props.data.options.size }), type: 'warning' }) return false diff --git a/packages/formEditor/components/Panels/Config/components/BackgroundComponent.vue b/packages/formEditor/components/Panels/Config/components/BackgroundComponent.vue index 70a66fa..0c0ba3a 100644 --- a/packages/formEditor/components/Panels/Config/components/BackgroundComponent.vue +++ b/packages/formEditor/components/Panels/Config/components/BackgroundComponent.vue @@ -219,7 +219,7 @@ const handleSuccess = (response, uploadFile) => {
  • Date: Sun, 9 Apr 2023 12:36:34 +0800 Subject: [PATCH 2/2] fix: fixed the signature clearing icon --- package.json | 2 +- packages/formEditor/components/FormTypes/Signature/mobile.vue | 2 +- packages/formEditor/components/FormTypes/Signature/pc.vue | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 17cd94d..a15b5ea 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "everright-formeditor", - "version": "1.0.2", + "version": "1.0.3", "files": [ "dist", "packages/formEditor/componentsConfig.js" diff --git a/packages/formEditor/components/FormTypes/Signature/mobile.vue b/packages/formEditor/components/FormTypes/Signature/mobile.vue index b5a8b70..c6713a6 100644 --- a/packages/formEditor/components/FormTypes/Signature/mobile.vue +++ b/packages/formEditor/components/FormTypes/Signature/mobile.vue @@ -151,7 +151,7 @@ const handleAction = async (type) => { - + diff --git a/packages/formEditor/components/FormTypes/Signature/pc.vue b/packages/formEditor/components/FormTypes/Signature/pc.vue index d0b9eed..daef74e 100644 --- a/packages/formEditor/components/FormTypes/Signature/pc.vue +++ b/packages/formEditor/components/FormTypes/Signature/pc.vue @@ -105,7 +105,7 @@ const handleCommit = async () => { :fit="'contain'" style="width: 100%; height: 100%;" /> - +