黄何裕
2024-07-30 1995e710dcf70e635c4edaa8173f8b66cd67d499
src/router/index.js
@@ -74,7 +74,6 @@
      }
    ]
  },
  // {
  //   path: '',
  //   component: Layout,
@@ -111,6 +110,25 @@
// 动态路由,基于用户权限动态去加载
export const dynamicRoutes = [
  {
    path: '/data-manage/data-detail',
    component: Layout,
    hidden: true,
    permissions: ['data:manage:detail'],
    children: [
      {
        path: 'index/:type/:typeId',
        component: () => import('@/views/system/data-manage/data-detail'),
        name: 'DataDetail',
        meta: {
          title: '数据详情',
          activeMenu: '/data-manage'
         }
      }
    ]
  },
  {
    path: '/system/user-auth',
    component: Layout,