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

export const Home: AppRouteRecordRaw = {
  path: '/home',
  name: 'Home',
  redirect: '/home/index',
  component: LAYOUT,
  meta: {
    title: '售后工单统计',
    icon: 'codicon:home-camera',
    orderNo: 4,
    hideChildrenInMenu: true,
  },
  children: [
    {
      path: 'index',
      name: 'HomeIndex',
      component: () => import('/@/views/home/index.vue'),
      meta: {
        title: '售后工单统计',
        hideBreadcrumb: true,
        // icon: 'codicon:home-camera',
      },
    },
  ],
};
export default Home;