From 454c162b4ec2badece96942c69d33cee886ab091 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=90=E5=93=BC=E5=94=A7L?= Date: Tue, 16 Jan 2024 10:34:06 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=86=E9=A2=91=E4=B8=8A=E4=BC=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../modules/book/talkBook-add-or-update.vue | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/views/modules/book/talkBook-add-or-update.vue b/src/views/modules/book/talkBook-add-or-update.vue index 9798abc..f85192c 100644 --- a/src/views/modules/book/talkBook-add-or-update.vue +++ b/src/views/modules/book/talkBook-add-or-update.vue @@ -415,7 +415,7 @@ console.log("this.voicesLoad", this.voicesLoad); if (this.voicesLoad >= 100) { this.voicesLoad = 99; - this.voicesloading = true; + this.voicesLoading = true; this.loading = true; // setTimeout( () => {this.voicesFlag = false}, 1000) // 一秒后关闭进度条 } @@ -434,7 +434,7 @@ this.voicesLoad = 100; setTimeout(() => { this.voicesFlag = false; - this.voicesloading = false; + this.voicesLoading = false; this.loading = false; this.$message.success("上传成功"); }, 1000); // 一秒后关闭进度条 @@ -454,10 +454,10 @@ uploadVideo(event, file, fileList) { this.videoFlag = true; // 显示进度条 this.videoLoad = parseInt(event.percent); // 动态获取文件上传进度 - console.log('this.loadProgress', this.videoLoad) + console.log('this.videoLoad', this.videoLoad) if (this.videoLoad >= 100) { this.videoLoad = 99 - this.videoloading = true; + this.videoLoading = true; this.loading = true // setTimeout( () => {this.progressFlag = false}, 1000) // 一秒后关闭进度条 } @@ -475,8 +475,8 @@ // console.log(this.dataForm.productImages,'productImages') this.loadProgress = 100 setTimeout(() => { - this.progressFlag = false; - this.videoloading = false; + this.videoFlag = false; + this.videoLoading = false; this.loading = false; this.$message.success("上传成功"); }, 1000) // 一秒后关闭进度条 @@ -504,8 +504,8 @@ this.dataForm.productDetails = ""; this.voicesFlag = false; this.videoFlag = false; - this.voicesloading = false; - this.videoloading = false; + this.voicesLoading = false; + this.videoLoading = false; this.loading = false; // this.$refs['dataForm'].reset() },