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:
21
frontend/vben/src/router/menus/modules/dashboard.ts
Normal file
21
frontend/vben/src/router/menus/modules/dashboard.ts
Normal 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
|
||||
Reference in New Issue
Block a user