From e259093e01a924469ed599fd3311c5b2fc04d49b Mon Sep 17 00:00:00 2001
From: RuoYi <yzz_ivy@163.com>
Date: 星期四, 08 七月 2021 15:49:04 +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