|
@@ -4,27 +4,15 @@ 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',
|
|
|
|
|
|
|
+ path: '/dashboard/home',
|
|
|
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,
|
|
|
|
|
- title: t('routes.account.home'),
|
|
|
|
|
- },
|
|
|
|
|
- },
|
|
|
|
|
- ],
|
|
|
|
|
};
|
|
};
|
|
|
|
|
|
|
|
export default dashboard;
|
|
export default dashboard;
|