康来智慧冷链-后端
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

43 lines
1.0 KiB

/**
* @program: kicc-ui
* @description: 指示板路由默认配置
* 当没有配置Dashboard菜单时,使用默认配置
* @author: entfrm开发团队-王翔
* @create: 2022/4/9
*/
import type { AppRouteModule } from '/@/router/types';
import { LAYOUT } from '/@/router/constant';
import {useI18n} from "/@/hooks/web/useI18n";
const { t } = useI18n();
const dashboard: AppRouteModule = {
path: '/dashboard',
name: 'Dashboard',
component: LAYOUT,
redirect: '/dashboard/analysis',
meta: {
icon: 'ion:grid-outline',
title: t('routes.dashboard.dashboard'),
},
children: [
{
path: 'analysis',
name: 'Analysis',
component: () => import('/@/views/dashboard/analysis/index.vue'),
meta: {
title: t('routes.dashboard.analysis'),
}
},
{
path: 'workbench',
name: 'Workbench',
component: () => import('/@/views/dashboard/workbench/index.vue'),
meta: {
title: t('routes.dashboard.workbench'),
}
}
]
};
export default dashboard;