import home from '@/router/main/home/index.js' import notice from '@/router/main/notice/index.js' import appraisalPlan from '@/router/main/appraisalPlan' import examTicket from '@/router/main/examTicket/index.js' import score from '@/router/main/score/index.js' import certificate from '@/router/main/certificate/index.js' import center from '@/router/main/center/index.js' const mainRouter = [ ...home, ...notice, ...appraisalPlan, ...examTicket, ...score, ...certificate, ...center ] const router = [ { path: '/main', name: '用户端', component: () => import('@/views/main/index.vue'), children: mainRouter, }, ] export default router