zhouwx
2025-12-02 be8d7e4f0aea2b49ac7a9963df6482864abe3502
src/router/index.js
@@ -27,6 +27,19 @@
// 公共路由
export const constantRoutes = [
  {
    path: '/',
    component: Layout,
    redirect: '/menuIndex',
    children: [
      {
        path: 'menuIndex',
        component: () => import('@/views/work/menuIndex/index'),
        name: 'MenuIndex',
        meta: { title: '首页', icon: 'druid', affix: true }
      }
    ]
  },
  {
    path: '/redirect',
    component: Layout,
    hidden: true,