src/router/dynamicRouter.js
@@ -155,6 +155,13 @@ component: () => import('@/views/surveyReport/index'), meta: { title: '现场勘察报告', icon: 'example' } } const sectionReport = { path: 'analyse/sectionReport', name: 'sectionReport', component: () => import('@/views/sectionReport/index'), meta: { title: '道路尘负荷走航报告', icon: 'example' } } // analyse/air const air = { path: 'analyse/air', @@ -198,7 +205,7 @@ Monitoringstation, Equipment, dailyreport, sectionReport } // 网络请求,第一次登陆只有4个路由,所以要添加路由,页面刷新的时候,判断大于4个路由,就不会重新添加。