|
|
@ -10,7 +10,7 @@ import type { AppRouteModule } from '/@/router/types'; |
|
|
|
|
|
|
|
|
|
|
|
import { LAYOUT } from '/@/router/constant'; |
|
|
|
import { LAYOUT } from '/@/router/constant'; |
|
|
|
import { t } from '/@/hooks/web/useI18n'; |
|
|
|
import { t } from '/@/hooks/web/useI18n'; |
|
|
|
import {isDevMode} from '/@/utils/env'; |
|
|
|
|
|
|
|
const dashboard: AppRouteModule = { |
|
|
|
const dashboard: AppRouteModule = { |
|
|
|
path: '/dashboard', |
|
|
|
path: '/dashboard', |
|
|
|
name: 'Dashboard', |
|
|
|
name: 'Dashboard', |
|
|
@ -19,7 +19,6 @@ const dashboard: AppRouteModule = { |
|
|
|
meta: { |
|
|
|
meta: { |
|
|
|
icon: 'ion:grid-outline', |
|
|
|
icon: 'ion:grid-outline', |
|
|
|
title: t('routes.dashboard.dashboard'), |
|
|
|
title: t('routes.dashboard.dashboard'), |
|
|
|
hideMenu: isDevMode() |
|
|
|
|
|
|
|
}, |
|
|
|
}, |
|
|
|
children: [ |
|
|
|
children: [ |
|
|
|
{ |
|
|
|
{ |
|
|
|