From f45b50a796e1db1238b1147f11c2f96c0d405e48 Mon Sep 17 00:00:00 2001 From: sxq <812980466@qq.com> Date: 星期三, 09 六月 2021 23:30:46 +0800 Subject: [PATCH] update redis锁工具类编写 --- ruoyi-ui/src/views/system/user/profile/resetPwd.vue | 6 +----- 1 files changed, 1 insertions(+), 5 deletions(-) diff --git a/ruoyi-ui/src/views/system/user/profile/resetPwd.vue b/ruoyi-ui/src/views/system/user/profile/resetPwd.vue index 3de5dfd..ee65240 100644 --- a/ruoyi-ui/src/views/system/user/profile/resetPwd.vue +++ b/ruoyi-ui/src/views/system/user/profile/resetPwd.vue @@ -57,11 +57,7 @@ if (valid) { updateUserPwd(this.user.oldPassword, this.user.newPassword).then( response => { - if (response.code === 200) { - this.msgSuccess("淇敼鎴愬姛"); - } else { - this.msgError(response.msg); - } + this.msgSuccess("淇敼鎴愬姛"); } ); } -- Gitblit v1.9.3