|
@@ -97,8 +97,20 @@ export const constantRoutes = [
|
|
|
|
|
|
{
|
|
|
path: '/',
|
|
|
- redirect: '/main/main',
|
|
|
- hidden: true
|
|
|
+ component: Layout,
|
|
|
+ hidden: true,
|
|
|
+ children: [{
|
|
|
+ name: '首页',
|
|
|
+ path: '/',
|
|
|
+ component: () => import('@/views/main/index'),
|
|
|
+ hidden: false,
|
|
|
+ belongTopMenu: "/main",
|
|
|
+ activeMenu: '/main/main',
|
|
|
+ meta: {
|
|
|
+ noCache: '1',
|
|
|
+ title: '首页'
|
|
|
+ }
|
|
|
+ }]
|
|
|
},
|
|
|
{
|
|
|
path: '/redirect',
|