vue-vben-admin/src/router/menus/modules/demo/system.ts

41 lines
748 B
TypeScript
Raw Normal View History

2021-03-01 00:56:25 +08:00
import type { MenuModule } from '/@/router/types';
import { t } from '/@/hooks/web/useI18n';
const menu: MenuModule = {
orderNo: 2000,
menu: {
name: t('routes.demo.system.moduleName'),
path: '/system',
tag: {
dot: true,
},
2021-03-01 00:56:25 +08:00
children: [
{
path: 'account',
name: t('routes.demo.system.account'),
tag: {
dot: true,
type: 'warn',
},
2021-03-01 00:56:25 +08:00
},
2021-03-01 22:54:21 +08:00
{
path: 'dept',
name: t('routes.demo.system.dept'),
tag: {
content: 'new',
},
2021-03-01 22:54:21 +08:00
},
{
path: 'changePassword',
name: t('routes.demo.system.password'),
tag: {
content: 'new',
},
2021-03-01 22:54:21 +08:00
},
2021-03-01 00:56:25 +08:00
],
},
};
export default menu;