src/router/dynamicRouter.js
@@ -80,6 +80,13 @@ meta: { title: '空气质量污染日历', icon: 'example' } } // const PM5PM10ForecastChart = { // path: 'charts/PM5PM10ForecastChart', // name: 'PM5PM10ForecastChart', // component: () => import('@/views/PM5PM10ForecastChart/index'), // meta: { title: 'PM5PM10预测图', icon: 'example' } // } // 报表管理 const showMpData = { path: 'report/showMpData', @@ -204,7 +211,8 @@ Monitoringstation, Equipment, dailyreport, sectionReport sectionReport, // PM5PM10ForecastChart } // 网络请求,第一次登陆只有4个路由,所以要添加路由,页面刷新的时候,判断大于4个路由,就不会重新添加。