tangning 8 ay önce
ebeveyn
işleme
dcb0aaf47b
1 değiştirilmiş dosya ile 14 ekleme ve 1 silme
  1. 14 1
      src/router/routes/modules/dashboard.ts

+ 14 - 1
src/router/routes/modules/dashboard.ts

@@ -4,15 +4,28 @@ import { LAYOUT } from '/@/router/constant';
 import { t } from '/@/hooks/web/useI18n';
 
 const dashboard: AppRouteModule = {
-  path: '/dashboard/home',
+  path: '/dashboard',
   name: 'Dashboard',
   component: LAYOUT,
+  redirect: '/dashboard/home',
   meta: {
     orderNo: 10,
     icon: 'ion:grid-outline',
     title: t('routes.account.home'),
     hideChildrenInMenu: true,
   },
+  children: [
+    {
+      path: 'home',
+      name: 'Home',
+      component: () => import('/@/views/case/list.vue'),
+      meta: {
+        // affix: true,
+        hideMenu: true,
+        title: t('routes.account.home'),
+      },
+    },
+  ],
 };
 
 export default dashboard;