src/router/index.js
@@ -64,7 +64,7 @@ { path: '', component: Layout, redirect: 'index', redirect: 'screen', children: [ { path: 'index', @@ -74,6 +74,25 @@ } ] }, // { // path: '', // component: Layout, // redirect: 'index', // children: [ // { // path: 'index', // component: () => import('@/views/index'), // name: 'Index', // meta: { title: '首页', icon: 'dashboard', affix: true } // } // ] // }, { path: '/screen', hidden: true, component: () => import('@/views/screen/index'), }, { path: '/user', component: Layout,