dashboard.ts 866 Bytes
import type { AppRouteModule } from '/@/router/types';

import { LAYOUT } from '/@/router/constant';
import { t } from '/@/hooks/web/useI18n';

const dashboard: AppRouteModule = {
  path: '/home',
  name: 'Analysis',
  component: LAYOUT,
  redirect: '/home',
  meta: {
    hideChildrenInMenu: true,
    orderNo: 1,
    icon: 'ion:grid-outline',
    title: t('routes.dashboard.home'),
  },
  children: [
    {
      path: '',
      name: 'Analysis',
      component: () => import('/@/views/dashboard/analysis/index.vue'),
      meta: {
        // affix: true,
        title: '首页',
      },
    },
    // {
    //   path: 'workbench',
    //   name: 'Workbench',
    //   component: () => import('/@/views/dashboard/workbench/index.vue'),
    //   meta: {
    //     title: t('routes.dashboard.workbench'),
    //   },
    // },
  ],
};

export default dashboard;