From f6dd60c05144f6a5307a9729d9fe22de16a2a0fe Mon Sep 17 00:00:00 2001 From: 朱杰 <693337446@qq.com> Date: 星期四, 24 六月 2021 17:10:37 +0800 Subject: [PATCH] update 修改readme加入提问四部曲 --- 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