From 7da300d017d1823ac5f88b4c9e4babfb1bca7c17 Mon Sep 17 00:00:00 2001 From: cwchen <1048842385@qq.com> Date: Mon, 17 Nov 2025 11:10:38 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B7=A5=E5=99=A8=E5=85=B7=E9=97=AE=E9=A2=98?= =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/common/FileOrImageDisplay.vue | 2 +- src/views/enterpriseLibrary/tool/components/ToolForm.vue | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/views/common/FileOrImageDisplay.vue b/src/views/common/FileOrImageDisplay.vue index 5d6f613..032fa98 100644 --- a/src/views/common/FileOrImageDisplay.vue +++ b/src/views/common/FileOrImageDisplay.vue @@ -58,7 +58,7 @@ export default { // 标签名称 label: { type: String, - required: true + default: '' }, // 文件对象 file: { diff --git a/src/views/enterpriseLibrary/tool/components/ToolForm.vue b/src/views/enterpriseLibrary/tool/components/ToolForm.vue index eb44065..b6cda86 100644 --- a/src/views/enterpriseLibrary/tool/components/ToolForm.vue +++ b/src/views/enterpriseLibrary/tool/components/ToolForm.vue @@ -133,7 +133,7 @@ export default { delFileList: [], }; if(this.isDisabled){ - this.rules = []; + this.rules = {}; this.$set(this.form, 'url', files[0]?.lsFilePath || null); } },