From 8d6c3d7fbc667cdff919eb7407a609f9da2ab3f6 Mon Sep 17 00:00:00 2001 From: vdpAdmin Date: Wed, 20 Jul 2022 18:21:57 +0800 Subject: [PATCH] =?UTF-8?q?2022.07.20=E6=9B=B4=E6=96=B0=EF=BC=9A=201.=20?= =?UTF-8?q?=E4=BC=98=E5=8C=96=E5=9B=BE=E7=89=87=E3=80=81=E6=96=87=E4=BB=B6?= =?UTF-8?q?=E4=B8=8A=E4=BC=A0=E7=BB=84=E4=BB=B6=E4=BA=A4=E4=BA=92=E9=80=BB?= =?UTF-8?q?=E8=BE=91=EF=BC=9B=202.=20=E5=9B=BE=E7=89=87=E7=BB=84=E4=BB=B6?= =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E9=A2=84=E8=A7=88=E5=8A=9F=E8=83=BD=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/form-designer/designer.js | 2 +- .../field-widget/file-upload-widget.vue | 82 +++++++++++------- .../field-widget/form-item-wrapper.vue | 7 +- .../field-widget/picture-upload-widget.vue | 83 +++++++++++++++---- .../property-editor/defaultValue-editor.vue | 4 +- .../container-item/sub-form-item.vue | 4 +- src/extension/samples/alert/alert-widget.vue | 4 +- 7 files changed, 128 insertions(+), 58 deletions(-) diff --git a/src/components/form-designer/designer.js b/src/components/form-designer/designer.js index 5a7e135..6921ce6 100644 --- a/src/components/form-designer/designer.js +++ b/src/components/form-designer/designer.js @@ -38,7 +38,7 @@ export function createDesigner(vueInstance) { this.formConfig = deepClone(defaultFormConfig) //输出版本信息和语雀链接 - console.info(`%cVariantForm %cVer${VARIANT_FORM_VERSION} %chttps://www.yuque.com/variantdev/vform`, + console.info(`%cVariantForm %cVer${VARIANT_FORM_VERSION} %chttps://www.yuque.com/visualdev/vform3`, "color:#409EFF;font-size: 22px;font-weight:bolder", "color:#999;font-size: 12px", "color:#333" diff --git a/src/components/form-designer/form-widget/field-widget/file-upload-widget.vue b/src/components/form-designer/form-widget/field-widget/file-upload-widget.vue index 5b60d9c..d259141 100644 --- a/src/components/form-designer/form-widget/field-widget/file-upload-widget.vue +++ b/src/components/form-designer/form-widget/field-widget/file-upload-widget.vue @@ -10,7 +10,7 @@ :multiple="field.options.multipleSelect" :file-list="fileList" :show-file-list="field.options.showFileList" :class="{'hideUploadDiv': uploadBtnHidden}" :limit="field.options.limit" :on-exceed="handleFileExceed" :before-upload="beforeFileUpload" - :on-success="handleFileUpload" :on-error="handelUploadError" :on-remove="handleFileRemove"> + :on-success="handleFileUpload" :on-error="handleUploadError"> @@ -56,7 +56,7 @@ this.unregisterFromRefList() }, methods: { - handelCloseCustomEvent() { + handleCloseCustomEvent() { if (!!this.field.options.onClose) { let changeFn = new Function(this.field.options.onClose) changeFn.call(this)