You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

59 lines
1.1 KiB
TypeScript

5 months ago
interface IRoutes {
path: String;
component?: String;
icon?: String;
title: String;
routes?: IRoutes[];
authority?: String[];
}
const localRoutes: IRoutes[] = [
{
path: 'productionMonitoring',
title: '生产监控',
routes: [
{
path: 'pctlz',
title: '喷吹脱硫站生产监控',
component: './productionMonitoring/pctlz',
},
],
},
{
path: '/example',
title: '示例',
routes: [
{
path: 'button',
title: 'Button - [按钮]',
component: './example/button',
},
{
path: 'card',
title: 'Card - [卡片]',
component: './example/card',
},
{
path: 'radio',
title: 'Radio - [单选]',
component: './example/radio',
},
{
path: 'table',
title: 'Table - [表格]',
component: './example/table',
},
{
path: 'tabs',
title: 'Tabs - [选项卡]',
component: './example/tabs',
},
{
path: 'tree',
title: 'Tree - [树]',
component: './example/tree',
},
],
},
];
export default localRoutes;