feat: There is no way the, welink 福田业务系统首页 路由 访问问题

This commit is contained in:
396572590@qq.com
2022-06-22 10:34:48 +08:00
parent 59632fcba8
commit ee1b234b26
2 changed files with 23 additions and 2 deletions
+2 -1
View File
@@ -89,7 +89,8 @@
window.sessionStorage.setItem('menuList', menuList); // del
if (hasHomeMenu) {
this.setMenu(JSON.stringify(menuList)).then(res => {
this.$router.push("/phoneHome")
let routerName = localStorage.getItem("routerName")
this.$router.push('/'+routerName)
}, e => {
console.log("解析遍历权限列表出现异常")
this.logout()