fuliqi
2024-05-08 3c6203da5fc2503b83ee2f7bd5b8a37333b62cb2
src/router/index.js
@@ -64,16 +64,35 @@
  {
    path: '',
    component: Layout,
    redirect: 'index',
    redirect: 'screen',
    children: [
      {
        path: 'index',
//        component: () => import('@/views/index'),
        component: () => import('@/views/index'),
        name: 'Index',
        meta: { title: '首页', icon: 'dashboard', affix: true }
      }
    ]
  },
  // {
  //   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,