From 14ea071306f0ec3b79687346fa05116522f7a6a2 Mon Sep 17 00:00:00 2001
From: libin <17610879900@163.com>
Date: Sat, 08 May 2021 15:31:16 +0800
Subject: [PATCH] 修复文件上传时java.nio.file.FileAlreadyExistsException
---
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