From 54bfa627f0fd37550f9b828f630e98e78aea536d Mon Sep 17 00:00:00 2001
From: RuoYi <yzz_ivy@163.com>
Date: 星期一, 20 九月 2021 19:04:57 +0800
Subject: [PATCH] 防止Excel导入图片可能出现的异常

---
 ruoyi-ui/src/views/system/user/profile/userAvatar.vue |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/ruoyi-ui/src/views/system/user/profile/userAvatar.vue b/ruoyi-ui/src/views/system/user/profile/userAvatar.vue
index aa176a6..49c2cd5 100644
--- a/ruoyi-ui/src/views/system/user/profile/userAvatar.vue
+++ b/ruoyi-ui/src/views/system/user/profile/userAvatar.vue
@@ -137,9 +137,10 @@
     realTime(data) {
       this.previews = data;
     },
-    //取消截图,关闭对话框
+    // 关闭窗口
     closeDialog() {
       this.options.img = store.getters.avatar
+	  this.visible = false;
     }
   }
 };

--
Gitblit v1.9.2