A modern vue admin. It is based on Vue3, vite and TypeScript. It's fast!
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.
 
 
 
 
 

53 lines
1017 B

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,
},
children: [
{
path: 'account',
name: t('routes.demo.system.account'),
tag: {
dot: true,
type: 'warn',
},
},
{
path: 'role',
name: t('routes.demo.system.role'),
tag: {
content: 'new',
},
},
{
path: 'menu',
name: t('routes.demo.system.menu'),
tag: {
content: 'new',
},
},
{
path: 'dept',
name: t('routes.demo.system.dept'),
tag: {
content: 'new',
},
},
{
path: 'changePassword',
name: t('routes.demo.system.password'),
tag: {
content: 'new',
},
},
],
},
};
export default menu;