From d95a0f020ea2e3e5b96880792f7b735ae6a8767d Mon Sep 17 00:00:00 2001
From: cy <1664593601@qq.com>
Date: 星期四, 07 十二月 2023 13:49:17 +0800
Subject: [PATCH] feat: 添加用户、角色 失败,

---
 admin-web/src/views/systemSetting/user/profile/resetPwd.vue |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/admin-web/src/views/systemSetting/user/profile/resetPwd.vue b/admin-web/src/views/systemSetting/user/profile/resetPwd.vue
index 4365831..5a81581 100644
--- a/admin-web/src/views/systemSetting/user/profile/resetPwd.vue
+++ b/admin-web/src/views/systemSetting/user/profile/resetPwd.vue
@@ -68,6 +68,10 @@
               btnMixPd: undefined
             }
             this.$modal.msgSuccess("淇敼鎴愬姛");
+            // 淇敼鎴愬姛锛岄��鍑虹郴缁�
+            this.$store.dispatch('user/logout').then(() => {
+              location.reload()
+            })
           });
         }
       });

--
Gitblit v1.9.1