From f244fe1855c482d82c3f56ad496b1ab7998a9e15 Mon Sep 17 00:00:00 2001 From: 若依 <yzz_ivy@163.com> Date: 星期三, 29 十二月 2021 10:14:26 +0800 Subject: [PATCH] !395 fix https://gitee.com/y_project/RuoYi-Vue/issues/I4O5WD Merge pull request !395 from 马小法/master --- ruoyi-ui/src/views/system/user/profile/userInfo.vue | 5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-) diff --git a/ruoyi-ui/src/views/system/user/profile/userInfo.vue b/ruoyi-ui/src/views/system/user/profile/userInfo.vue index 621a1a3..ac7c44a 100644 --- a/ruoyi-ui/src/views/system/user/profile/userInfo.vue +++ b/ruoyi-ui/src/views/system/user/profile/userInfo.vue @@ -62,14 +62,13 @@ this.$refs["form"].validate(valid => { if (valid) { updateUserProfile(this.user).then(response => { - this.msgSuccess("修改成功"); + this.$modal.msgSuccess("修改成功"); }); } }); }, close() { - this.$store.dispatch("tagsView/delView", this.$route); - this.$router.push({ path: "/index" }); + this.$tab.closePage(); } } }; -- Gitblit v1.9.2