chore: update menu and route i18n

This commit is contained in:
vben
2020-12-09 00:12:44 +08:00
parent 9bb751475d
commit a0b05e7769
31 changed files with 279 additions and 254 deletions

View File

@@ -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'),
},
],
},