dbsd_kczx/src/router/routes/modules/site/site.ts

39 lines
869 B
TypeScript
Raw Normal View History

import type { AppRouteModule } from '/@/router/types';
// import { LAYOUT } from '/@/router/constant';
import { t } from '/@/hooks/web/useI18n';
const site: AppRouteModule = {
path: '/site',
name: 'site',
component: () => import('/@/layouts/page/index.vue'),
redirect: '/site/index',
meta: {
orderNo: 10,
icon: 'ion:grid-outline',
title: t('routes.dashboard.dashboard'),
},
children: [
{
path: 'index',
name: 'siteIndex',
component: () => import('/@/views/site/index.vue'),
meta: {
// affix: true,
title: t('routes.dashboard.analysis'),
},
},
{
path: 'index2',
name: 'siteIndex2',
component: () => import('/@/views/site/index2.vue'),
meta: {
// affix: true,
title: t('routes.dashboard.analysis'),
},
},
],
};
export default site;