干燥机配套车间生产管理系统/云平台服务端
baoshiwei
2023-05-24 beca65f4d01ca07c358102a35b949c2a4f277afe
src/router/routes/modules/dashboard.ts
@@ -1,37 +1,37 @@
import type { AppRouteModule } from '/@/router/types';
import type { AppRouteModule } from '/@/router/types'
import { LAYOUT } from '/@/router/constant';
import { t } from '/@/hooks/web/useI18n';
import { t } from '/@/hooks/web/useI18n'
import { LAYOUT } from '/@/router/constant'
const dashboard: AppRouteModule = {
  path: '/dashboard',
  name: 'Dashboard',
  component: LAYOUT,
  redirect: '/dashboard/analysis',
  meta: {
    orderNo: 10,
    icon: 'ion:grid-outline',
    title: t('routes.dashboard.dashboard'),
  },
  children: [
    {
      path: 'analysis',
      name: 'Analysis',
      component: () => import('/@/views/dashboard/Analysis/index.vue'),
      meta: {
        // affix: true,
        title: t('routes.dashboard.analysis'),
      },
    },
    {
      path: 'workbench',
      name: 'Workbench',
      component: () => import('/@/views/dashboard/workbench/index.vue'),
      meta: {
        title: t('routes.dashboard.workbench'),
      },
    },
  ],
};
   path: '/dashboard',
   name: 'Dashboard',
   component: LAYOUT,
   redirect: '/dashboard/analysis',
   meta: {
      orderNo: 10,
      icon: 'ion:grid-outline',
      title: t('routes.dashboard.dashboard'),
   },
   children: [
      {
         path: 'analysis',
         name: 'Analysis',
         component: () => import('/@/views/dashboard/Analysis/index.vue'),
         meta: {
            // affix: true,
            title: t('routes.dashboard.analysis'),
         },
      },
      {
         path: 'workbench',
         name: 'Workbench',
         component: () => import('/@/views/dashboard/workbench/index.vue'),
         meta: {
            title: t('routes.dashboard.workbench'),
         },
      },
   ],
}
export default dashboard;
export default dashboard