|
@@ -181,7 +181,7 @@ function recursionPermission(arr) {
|
|
|
})
|
|
|
}
|
|
|
function setDetailRoute(accessedRoutes) {
|
|
|
- console.log(accessedRoutes)
|
|
|
+ // console.log(accessedRoutes)
|
|
|
accessedRoutes.forEach(route => {
|
|
|
// console.log(route.path)
|
|
|
if (route.path == '/main') {
|
|
@@ -685,7 +685,7 @@ const actions = {
|
|
|
if(res.data?.length <1){
|
|
|
// 一条权限都没有
|
|
|
//退出 跳到登录页 提示'该账号无任何权限'
|
|
|
- console.log(store.dispatch)
|
|
|
+ // console.log(store.dispatch)
|
|
|
await store.dispatch("user/logout");
|
|
|
localStorage.removeItem("firstMenuUrl");
|
|
|
// await this.$store.dispatch("permission/removePermission")
|