|
@@ -7,7 +7,15 @@ const routes = [
|
|
|
// 登陆页面
|
|
|
{
|
|
|
path: '/',
|
|
|
- redirect: '/home/overview',
|
|
|
+ // redirect: '/home/overview',
|
|
|
+ component: () => import('../views/index'),
|
|
|
+ children: [
|
|
|
+ //概览
|
|
|
+ {
|
|
|
+ path: '/',
|
|
|
+ component: () => import('../views/overview'),
|
|
|
+ },
|
|
|
+ ],
|
|
|
},
|
|
|
// home
|
|
|
{
|