From c110cc60944003c6980b4c43e88a1327b44553d1 Mon Sep 17 00:00:00 2001
From: quanyawei <401863037@qq.com>
Date: Mon, 16 Oct 2023 10:48:10 +0800
Subject: [PATCH] Merge branch 'feature_1.0'
---
src/components/UploadExcel/index.vue | 14 +++++++++-----
1 files changed, 9 insertions(+), 5 deletions(-)
diff --git a/src/components/UploadExcel/index.vue b/src/components/UploadExcel/index.vue
index 39f111c..ff357cd 100644
--- a/src/components/UploadExcel/index.vue
+++ b/src/components/UploadExcel/index.vue
@@ -48,7 +48,7 @@
</span>
</div>
</el-upload>
- <el-dialog :visible.sync="dialogVisible" width="600px" :modal-append-to-body="false" :destroy-on-close="true" @close="handleCancel">
+ <el-dialog :visible.sync="dialogVisible" width="600px" append-to-body :modal-append-to-body="false" :destroy-on-close="true" @close="handleCancel">
<div style="text-align: center;">
<img
v-if="dialogType == 1"
@@ -101,11 +101,15 @@
methods: {
handleCancel(e) {
- if (this.$refs.video) {
- this.$refs.video.pause()
- }
- this.dialogImageUrl = ''
this.dialogVisible = false
+
+ setTimeout(() => {
+ if (this.$refs.video) {
+ this.$refs.video.pause()
+ }
+
+ this.dialogImageUrl = ''
+ }, 200)
},
// ���������
before_upload(file) {
--
Gitblit v1.8.0