From 15abd4d053400b28019b89fb6ba9e2065e7d29db Mon Sep 17 00:00:00 2001
From: RuoYi <yzz_ivy@163.com>
Date: 星期三, 08 九月 2021 11:26:08 +0800
Subject: [PATCH] 优化提示

---
 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