| | |
| | | import type { MenuModule } from '/@/router/types.d'; |
| | | import type { MenuModule } from '/@/router/types'; |
| | | import { t } from '/@/hooks/web/useI18n'; |
| | | |
| | | const menu: MenuModule = { |
| | | orderNo: 10, |
| | | menu: { |
| | | name: 'routes.dashboard.dashboard', |
| | | name: t('routes.dashboard.dashboard'), |
| | | path: '/dashboard', |
| | | tag: { |
| | | dot: true, |
| | | type: 'warn', |
| | | }, |
| | | children: [ |
| | | { |
| | | path: '/workbench', |
| | | name: 'routes.dashboard.workbench', |
| | | path: 'analysis', |
| | | name: t('routes.dashboard.analysis'), |
| | | tag: { |
| | | dot: true, |
| | | type: 'warn', |
| | | }, |
| | | }, |
| | | { |
| | | path: '/analysis', |
| | | name: 'routes.dashboard.analysis', |
| | | }, |
| | | { |
| | | path: '/welcome', |
| | | name: 'routes.dashboard.welcome', |
| | | path: 'workbench', |
| | | name: t('routes.dashboard.workbench'), |
| | | tag: { |
| | | dot: true, |
| | | type: 'warn', |
| | | }, |
| | | }, |
| | | ], |
| | | }, |