From 89e1f2a53fbf99d8a48b7d12a41a862700a30015 Mon Sep 17 00:00:00 2001
From: RuoYi <yzz_ivy@163.com>
Date: Sun, 13 Dec 2020 15:01:03 +0800
Subject: [PATCH] 修改Set可能导致嵌套的问题
---
ruoyi-ui/src/views/system/user/profile/userInfo.vue | 6 +++---
1 files changed, 3 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 0b1780d..00e54ad 100644
--- a/ruoyi-ui/src/views/system/user/profile/userInfo.vue
+++ b/ruoyi-ui/src/views/system/user/profile/userInfo.vue
@@ -24,6 +24,7 @@
<script>
import { updateUserProfile } from "@/api/system/user";
+import Global from "@/layout/components/global.js";
export default {
props: {
@@ -62,14 +63,13 @@
this.$refs["form"].validate(valid => {
if (valid) {
updateUserProfile(this.user).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.2