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