diff --git a/src/router/index.js b/src/router/index.js index 6a980af..96d708b 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -54,13 +54,6 @@ }, ], }, - // 门户页过度 - // { - // path: '/PortalPage', - // name: 'PortalPage', - // component: () => import('@/views/PortalPage'), - // hidden: true, - // }, // 4k城管委分辨率 { path: '/chengguanweiScreen', diff --git a/src/router/index.js b/src/router/index.js index 6a980af..96d708b 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -54,13 +54,6 @@ }, ], }, - // 门户页过度 - // { - // path: '/PortalPage', - // name: 'PortalPage', - // component: () => import('@/views/PortalPage'), - // hidden: true, - // }, // 4k城管委分辨率 { path: '/chengguanweiScreen', diff --git a/src/store/modules/permission.js b/src/store/modules/permission.js index 7f61c29..a74a0c4 100644 --- a/src/store/modules/permission.js +++ b/src/store/modules/permission.js @@ -31,7 +31,7 @@ const rewriteRoutes = filterAsyncRouter(rdata, false, true); this.setSidebarRouters(constantRoutes.concat(sidebarRoutes)); resolve(rewriteRoutes); - // console.log('2222222222222', rewriteRoutes); + console.log('2222222222222', rewriteRoutes); // 登录成功之后才默认加载菜单设置 if (localStorage.getItem('fromDoorXG') == 'chengguanweiScreen') { localStorage.setItem('routerPartXG', rewriteRoutes[1].name); //默认加载第一个菜单 diff --git a/src/router/index.js b/src/router/index.js index 6a980af..96d708b 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -54,13 +54,6 @@ }, ], }, - // 门户页过度 - // { - // path: '/PortalPage', - // name: 'PortalPage', - // component: () => import('@/views/PortalPage'), - // hidden: true, - // }, // 4k城管委分辨率 { path: '/chengguanweiScreen', diff --git a/src/store/modules/permission.js b/src/store/modules/permission.js index 7f61c29..a74a0c4 100644 --- a/src/store/modules/permission.js +++ b/src/store/modules/permission.js @@ -31,7 +31,7 @@ const rewriteRoutes = filterAsyncRouter(rdata, false, true); this.setSidebarRouters(constantRoutes.concat(sidebarRoutes)); resolve(rewriteRoutes); - // console.log('2222222222222', rewriteRoutes); + console.log('2222222222222', rewriteRoutes); // 登录成功之后才默认加载菜单设置 if (localStorage.getItem('fromDoorXG') == 'chengguanweiScreen') { localStorage.setItem('routerPartXG', rewriteRoutes[1].name); //默认加载第一个菜单 diff --git a/src/views/login.vue b/src/views/login.vue index c709514..7b8d80e 100644 --- a/src/views/login.vue +++ b/src/views/login.vue @@ -4,15 +4,15 @@