From cb56fab95612f4851226f76eb1fe7b7ad7a4b970 Mon Sep 17 00:00:00 2001 From: lion <120344285@qq.com> Date: Tue, 5 Mar 2024 15:07:14 +0800 Subject: [PATCH] =?UTF-8?q?=E5=90=8E=E5=8F=B0=E4=B8=8A=E4=BC=A0=E8=A7=86?= =?UTF-8?q?=E9=A2=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/party/components/addStudyResource.vue | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/views/party/components/addStudyResource.vue b/src/views/party/components/addStudyResource.vue index b07224e..58c755e 100644 --- a/src/views/party/components/addStudyResource.vue +++ b/src/views/party/components/addStudyResource.vue @@ -216,7 +216,8 @@ import { index as menulist} from "@/api/index"; } else { this.id = '' this.detail.id = '' - this.type = '' + this.type = '' + this.fileList = [] this.$refs['tinymce'].setContent(' ') this.$refs['addActivity'].reset() } @@ -321,7 +322,8 @@ import { index as menulist} from "@/api/index"; let res = await show({ id: this.id }) - Object.assign(this.detail, res); + Object.assign(this.detail, res); + this.fileList.push({name:res.audio_file,url:res.audio_file}) this.loadMenu() this.$refs['tinymce'].setContent(res.text ?? ' ') },