mirror of
https://github.com/vbenjs/vue-vben-admin.git
synced 2025-08-28 00:42:12 +08:00
chore: update menu and route i18n
This commit is contained in:
@@ -1,18 +1,19 @@
|
||||
import type { MenuModule } from '/@/router/types.d';
|
||||
import { t } from '/@/hooks/web/useI18n';
|
||||
|
||||
const menu: MenuModule = {
|
||||
orderNo: 10,
|
||||
menu: {
|
||||
name: 'routes.dashboard.dashboard',
|
||||
name: t('routes.dashboard.dashboard'),
|
||||
path: '/dashboard',
|
||||
children: [
|
||||
{
|
||||
path: '/workbench',
|
||||
name: 'routes.dashboard.workbench',
|
||||
name: t('routes.dashboard.workbench'),
|
||||
},
|
||||
{
|
||||
path: '/analysis',
|
||||
name: 'routes.dashboard.analysis',
|
||||
name: t('routes.dashboard.analysis'),
|
||||
},
|
||||
],
|
||||
},
|
||||
|
Reference in New Issue
Block a user