From 14ea071306f0ec3b79687346fa05116522f7a6a2 Mon Sep 17 00:00:00 2001
From: libin <17610879900@163.com>
Date: 星期六, 08 五月 2021 15:31:16 +0800
Subject: [PATCH] 修复文件上传时java.nio.file.FileAlreadyExistsException

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

diff --git a/ruoyi-ui/src/views/system/user/profile/resetPwd.vue b/ruoyi-ui/src/views/system/user/profile/resetPwd.vue
index e39948e..1359717 100644
--- a/ruoyi-ui/src/views/system/user/profile/resetPwd.vue
+++ b/ruoyi-ui/src/views/system/user/profile/resetPwd.vue
@@ -57,9 +57,7 @@
         if (valid) {
           updateUserPwd(this.user.oldPassword, this.user.newPassword).then(
             response => {
-              if (response.code === 200) {
-                this.msgSuccess("淇敼鎴愬姛");
-              }
+              this.msgSuccess("淇敼鎴愬姛");
             }
           );
         }

--
Gitblit v1.9.3