[fix 菜单权限] 取消权限后重新登录还能访问已经没有权限的菜单

This commit is contained in:
danshihao
2024-06-26 14:12:35 +08:00
parent fc7bbaaffc
commit f85fa4427f
+2 -1
View File
@@ -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: '错误',