From 1ca4c26d816181c6dbe9f60ace518b66f62fc62e Mon Sep 17 00:00:00 2001
From: bug制造者 <837099748@qq.com>
Date: Wed, 07 Jul 2021 17:16:05 +0800
Subject: [PATCH] 修改登录失效返回值code401 之前返回的code200,前端就会$message一下错误信息,不会弹出401重新登录跳转的弹框。

---
 ruoyi-ui/src/views/system/user/profile/resetPwd.vue |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/ruoyi-ui/src/views/system/user/profile/resetPwd.vue b/ruoyi-ui/src/views/system/user/profile/resetPwd.vue
index bdefa79..1359717 100644
--- a/ruoyi-ui/src/views/system/user/profile/resetPwd.vue
+++ b/ruoyi-ui/src/views/system/user/profile/resetPwd.vue
@@ -18,7 +18,6 @@
 
 <script>
 import { updateUserPwd } from "@/api/system/user";
-import Global from "@/layout/components/global.js";
 
 export default {
   data() {
@@ -65,7 +64,6 @@
       });
     },
     close() {
-      Global.$emit("removeCache", "closeSelectedTag", this.$route);
       this.$store.dispatch("tagsView/delView", this.$route);
       this.$router.push({ path: "/index" });
     }

--
Gitblit v1.9.3