|
@@ -4,15 +4,28 @@ import { LAYOUT } from '/@/router/constant';
|
|
|
import { t } from '/@/hooks/web/useI18n';
|
|
import { t } from '/@/hooks/web/useI18n';
|
|
|
|
|
|
|
|
const dashboard: AppRouteModule = {
|
|
const dashboard: AppRouteModule = {
|
|
|
- path: '/dashboard/home',
|
|
|
|
|
|
|
+ path: '/dashboard',
|
|
|
name: 'Dashboard',
|
|
name: 'Dashboard',
|
|
|
component: LAYOUT,
|
|
component: LAYOUT,
|
|
|
|
|
+ redirect: '/dashboard/home',
|
|
|
meta: {
|
|
meta: {
|
|
|
orderNo: 10,
|
|
orderNo: 10,
|
|
|
icon: 'ion:grid-outline',
|
|
icon: 'ion:grid-outline',
|
|
|
title: t('routes.account.home'),
|
|
title: t('routes.account.home'),
|
|
|
hideChildrenInMenu: true,
|
|
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;
|
|
export default dashboard;
|