From b368ad764f123ced6b48052c490decafe93e5402 Mon Sep 17 00:00:00 2001 From: RuoYi <yzz_ivy@163.com> Date: 星期四, 10 十二月 2020 12:08:18 +0800 Subject: [PATCH] 升级core-js到最新版本3.8.1 --- ruoyi-ui/src/views/system/user/profile/resetPwd.vue | 8 +++----- 1 files changed, 3 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 380e168..bdefa79 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,17 +58,14 @@ if (valid) { updateUserPwd(this.user.oldPassword, this.user.newPassword).then( response => { - if (response.code === 200) { - this.msgSuccess("修改成功"); - } else { - this.msgError(response.msg); - } + this.msgSuccess("修改成功"); } ); } }); }, close() { + Global.$emit("removeCache", "closeSelectedTag", this.$route); this.$store.dispatch("tagsView/delView", this.$route); this.$router.push({ path: "/index" }); } -- Gitblit v1.9.2