From f85fa4427ff3c3c5ee5dcc422e1b3cf50e91600d Mon Sep 17 00:00:00 2001 From: danshihao Date: Wed, 26 Jun 2024 14:12:35 +0800 Subject: [PATCH] =?UTF-8?q?[fix=20=E8=8F=9C=E5=8D=95=E6=9D=83=E9=99=90]=20?= =?UTF-8?q?=E5=8F=96=E6=B6=88=E6=9D=83=E9=99=90=E5=90=8E=E9=87=8D=E6=96=B0?= =?UTF-8?q?=E7=99=BB=E5=BD=95=E8=BF=98=E8=83=BD=E8=AE=BF=E9=97=AE=E5=B7=B2?= =?UTF-8?q?=E7=BB=8F=E6=B2=A1=E6=9C=89=E6=9D=83=E9=99=90=E7=9A=84=E8=8F=9C?= =?UTF-8?q?=E5=8D=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/tools/UserMenu.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/components/tools/UserMenu.vue b/src/components/tools/UserMenu.vue index 96f4703..10e7e7d 100644 --- a/src/components/tools/UserMenu.vue +++ b/src/components/tools/UserMenu.vue @@ -166,7 +166,8 @@ export default { // update-begin author:wangshuai date:20200601 for: 退出登录跳转登录页面 that.$router.push({ path: '/user/login' }) // update-end author:wangshuai date:20200601 for: 退出登录跳转登录页面 - //window.location.reload() + // 退出登录必须要刷新页面,否则会保留上一个用户的菜单权限 + window.location.reload() }).catch(err => { that.$message.error({ title: '错误',