|
@@ -55,15 +55,16 @@ export const constantRoutes = [
|
|
|
{
|
|
|
path: '',
|
|
|
component: Layout,
|
|
|
- redirect: 'index',
|
|
|
- children: [
|
|
|
- {
|
|
|
- path: 'index',
|
|
|
- component: (resolve) => require(['@/views/index'], resolve),
|
|
|
- name: '首页',
|
|
|
- meta: { title: '首页', icon: 'dashboard', noCache: true, affix: true }
|
|
|
- }
|
|
|
- ]
|
|
|
+ redirect: 'query',
|
|
|
+ hidden: true,
|
|
|
+ // children: [
|
|
|
+ // {
|
|
|
+ // path: 'index',
|
|
|
+ // component: (resolve) => require(['@/views/index'], resolve),
|
|
|
+ // name: '首页',
|
|
|
+ // meta: { title: '首页', icon: 'dashboard', noCache: true, affix: true }
|
|
|
+ // }
|
|
|
+ // ]
|
|
|
},
|
|
|
{
|
|
|
path: '/user',
|