1
0
mirror of https://github.com/fumiama/paper-manager.git synced 2026-06-13 13:16:55 +08:00

edit about & dashborad permission

This commit is contained in:
源文雨
2023-03-14 16:06:22 +08:00
parent 77e79facd9
commit 8d619e923b
4 changed files with 34 additions and 19 deletions

View File

@@ -0,0 +1,21 @@
import type { MenuModule } from '/@/router/types'
import { t } from '/@/hooks/web/useI18n'
const menu: MenuModule = {
orderNo: 10,
menu: {
name: t('routes.dashboard.dashboard'),
path: '/dashboard',
children: [
{
path: 'analysis',
name: t('routes.dashboard.analysis'),
},
{
path: 'workbench',
name: t('routes.dashboard.workbench'),
},
],
},
}
export default menu