|
@@ -6,7 +6,6 @@ Vue.use(Router)
|
|
import Layout from '@/layout'
|
|
import Layout from '@/layout'
|
|
|
|
|
|
export const constantRoutes = [
|
|
export const constantRoutes = [
|
|
- { path: '/', redirect: '/power-change-monitoring'},
|
|
|
|
{
|
|
{
|
|
path: '/redirect',
|
|
path: '/redirect',
|
|
component: Layout,
|
|
component: Layout,
|
|
@@ -33,10 +32,11 @@ export const constantRoutes = [
|
|
component: () => import('@/views/error-page/404'),
|
|
component: () => import('@/views/error-page/404'),
|
|
hidden: true
|
|
hidden: true
|
|
},
|
|
},
|
|
- {
|
|
|
|
- path: '/401',
|
|
|
|
- component: () => import('@/views/error-page/401'),
|
|
|
|
- hidden: true
|
|
|
|
|
|
+ {
|
|
|
|
+ path: '/',
|
|
|
|
+ redirect: '/power-change-monitoring',
|
|
|
|
+ component: Layout,
|
|
|
|
+ hidden: true,
|
|
},
|
|
},
|
|
{
|
|
{
|
|
path: '/power-change-monitoring',
|
|
path: '/power-change-monitoring',
|
|
@@ -73,7 +73,8 @@ export const constantRoutes = [
|
|
meta: { title: '统计分析', icon: 'tjfx', noCache: true }
|
|
meta: { title: '统计分析', icon: 'tjfx', noCache: true }
|
|
}
|
|
}
|
|
]
|
|
]
|
|
- }
|
|
|
|
|
|
+ },
|
|
|
|
+
|
|
]
|
|
]
|
|
|
|
|
|
/**
|
|
/**
|