From d6b6151aea494409e60196f9e1331e19c9013cad Mon Sep 17 00:00:00 2001 From: 〝走走停停 <1103914483@qq.com> Date: 星期二, 08 十二月 2020 17:49:51 +0800 Subject: [PATCH] update ruoyi-ui/src/assets/styles/ruoyi.scss. --- ruoyi-ui/src/views/system/user/profile/userInfo.vue | 8 +++----- 1 files changed, 3 insertions(+), 5 deletions(-) diff --git a/ruoyi-ui/src/views/system/user/profile/userInfo.vue b/ruoyi-ui/src/views/system/user/profile/userInfo.vue index 2e8ef99..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,16 +63,13 @@ this.$refs["form"].validate(valid => { if (valid) { updateUserProfile(this.user).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