【修改】首页权限不存在,则tab不显示首页信息

【修改】退出登录不通过路由
This commit is contained in:
zer0Black
2022-04-17 19:18:19 +08:00
parent 80f0921d60
commit 2ebb7bd20a
3 changed files with 5 additions and 44 deletions
+1 -4
View File
@@ -183,10 +183,7 @@
content: '真的要注销登录吗 ?',
onOk() {
return that.Logout({}).then(() => {
// update-begin author:wangshuai date:20200601 for: 退出登录跳转登录页面
that.$router.push({ path: '/user/login' });
window.location.reload()
// update-end author:wangshuai date:20200601 for: 退出登录跳转登录页面
window.location.replace("/user/login")
}).catch(err => {
that.$message.error({
title: '错误',