|
|
@@ -48,6 +48,11 @@ export const constantRoutes = [
|
|
|
component: () => import('@/views/login/index'),
|
|
|
hidden: true
|
|
|
},
|
|
|
+ {
|
|
|
+ path: '/login1',
|
|
|
+ component: () => import('@/views/login/index'),
|
|
|
+ hidden: true
|
|
|
+ },
|
|
|
{
|
|
|
path: '/',
|
|
|
component: Layout,
|
|
|
@@ -70,7 +75,10 @@ export const constantRoutes = [
|
|
|
// }
|
|
|
// ]
|
|
|
// },
|
|
|
-
|
|
|
+ {
|
|
|
+ path: '/dashboard-screen',
|
|
|
+ component: () => import('@/views/dashboard-screen/index') // Parent router-view
|
|
|
+ },
|
|
|
// 404 page must be placed at the end !!!
|
|
|
{
|
|
|
path: '/404',
|
|
|
@@ -80,25 +88,7 @@ export const constantRoutes = [
|
|
|
|
|
|
]
|
|
|
export const asyncRoutes = [
|
|
|
- {
|
|
|
- path: '/dashboard-screen',
|
|
|
- component: FullScreenLayout,
|
|
|
- // redirect: '/catenary/fault',
|
|
|
- name: 'dashboard-screen',
|
|
|
- meta: {
|
|
|
- title: '',
|
|
|
- icon: 'icon-jiechuwang',
|
|
|
- pages: ['pc:catenary']
|
|
|
- },
|
|
|
- children: [
|
|
|
- {
|
|
|
- path: '',
|
|
|
- component: () => import('@/views/dashboard-screen/index'), // Parent router-view
|
|
|
- name: 'fault',
|
|
|
- meta: { title: '大屏', pages: ['pc:catenary:jlgz'] }
|
|
|
- }
|
|
|
- ]
|
|
|
- },
|
|
|
+
|
|
|
{
|
|
|
path: '/catenary',
|
|
|
component: Layout,
|