From 25a3fc1fb5c81623fa8fe75d2775244de2b1f6a3 Mon Sep 17 00:00:00 2001 From: lijingyu007 <904564792@qq.com> Date: Fri, 24 May 2024 09:57:06 +0800 Subject: [PATCH] =?UTF-8?q?saas=E6=B7=BB=E5=8A=A0=E8=A7=86=E9=A2=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/components/ToolEdit.vue | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/src/views/components/ToolEdit.vue b/src/views/components/ToolEdit.vue index 7b1b4af..e2204d2 100644 --- a/src/views/components/ToolEdit.vue +++ b/src/views/components/ToolEdit.vue @@ -64,7 +64,7 @@ /> - + 0) { let installDocFile = [ @@ -513,7 +513,7 @@ export default { filePath: this.form.installDocFile[0].filePath, }, ] - this.$refs.installDocUpload.setInstallDocFileList(installDocFile) + this.$refs.installDocUpload?.setInstallDocFileList(installDocFile) } // 用户使用手册 if (this.form.guideDocFile.length > 0) { @@ -524,7 +524,7 @@ export default { filePath: this.form.guideDocFile[0].filePath, }, ] - this.$refs.guideDocUpload.setInstallDocFileList(guideDocFile) + this.$refs.guideDocUpload?.setInstallDocFileList(guideDocFile) } if (this.form.mp4File.length > 0) { let mp4File = [ @@ -534,7 +534,7 @@ export default { filePath: this.form.mp4File[0].filePath, }, ] - this.$refs.vedioUpload.setInstallDocFileList(mp4File) + this.$refs.vedioUpload?.setInstallDocFileList(mp4File) } } })