From f56f57a2364ff5cf1279527c2f130aae88b65ce7 Mon Sep 17 00:00:00 2001 From: 疯狂的狮子li <15040126243@163.com> Date: 星期五, 11 十二月 2020 14:27:54 +0800 Subject: [PATCH] Merge branch 'master' of https://gitee.com/y_project/RuoYi-Vue --- ruoyi-ui/src/views/system/user/profile/resetPwd.vue | 6 +++--- 1 files changed, 3 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 0ff3435..86073d3 100644 --- a/ruoyi-ui/src/views/system/user/profile/resetPwd.vue +++ b/ruoyi-ui/src/views/system/user/profile/resetPwd.vue @@ -18,6 +18,7 @@ <script> import { updateUserPwd } from "@/api/system/user"; +import Global from "@/layout/components/global.js"; export default { data() { @@ -57,15 +58,14 @@ if (valid) { updateUserPwd(this.user.oldPassword, this.user.newPassword).then( response => { - if (response.code === 200) { - this.msgSuccess("淇敼鎴愬姛"); - } + this.msgSuccess("淇敼鎴愬姛"); } ); } }); }, close() { + Global.$emit("removeCache", "closeSelectedTag", this.$route); this.$store.dispatch("tagsView/delView", this.$route); this.$router.push({ path: "/index" }); } -- Gitblit v1.9.3