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 (