From 5a2a0c09b629410082e850bde2d3b6504f5a772e Mon Sep 17 00:00:00 2001
From: Ricky <hk_ricky@163.com>
Date: 星期一, 12 四月 2021 13:26:54 +0800
Subject: [PATCH] 优化主子表代码生成

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