From 474b3a6c33ce7ada0e04617647827090ac652eb1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9B=B9=E8=BE=89?= <814457906@qq.com> Date: Thu, 27 Apr 2023 11:30:02 +0800 Subject: [PATCH] =?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/system/stationAvatar/index.vue | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/src/views/system/stationAvatar/index.vue b/src/views/system/stationAvatar/index.vue index 4bae501..e656a8a 100644 --- a/src/views/system/stationAvatar/index.vue +++ b/src/views/system/stationAvatar/index.vue @@ -114,7 +114,10 @@ > --> - 提 交 + + 提 交 + 提 交 中... + @@ -138,6 +141,7 @@ export default { props: ["img", "type", "item", "tovideo"], data() { return { + uploadbtn: true, //上传中不允许点击 imageUrl: "", types: "", // 是否显示弹出层 @@ -272,12 +276,13 @@ export default { formData.append("type", this.types); if (this.types == "itemDirectoryUrl") { this.$modal.msgSuccess("上传视频中,请耐心等待"); + this.uploadbtn = false; uploadVideoUrl(formData).then(response => { this.video.VideoPath = baseurl + response.imgUrl; this.$emit("imgUrl", response.imgUrl); this.items.itemDirectoryUrl = response.imgUrl; this.$emit("item", JSON.stringify(this.items)); - console.log(this.video, this.options); + this.uploadbtn = true; this.openimg = false; }); } else if (