From c9fc948cfa3cf91c072a13787aed5cb50fb31669 Mon Sep 17 00:00:00 2001
From: quanyawei <401863037@qq.com>
Date: Mon, 15 Jan 2024 13:24:41 +0800
Subject: [PATCH] fix:bug修复

---
 src/router/dynamicRouter.js |   34 ++++++++++++++++++++++++++++++++--
 1 files changed, 32 insertions(+), 2 deletions(-)

diff --git a/src/router/dynamicRouter.js b/src/router/dynamicRouter.js
index 1246779..b84d58a 100644
--- a/src/router/dynamicRouter.js
+++ b/src/router/dynamicRouter.js
@@ -79,6 +79,12 @@
   component: () => import('@/views/airPollutionCalendar/index'),
   meta: { title: '������������������������', icon: 'example' }
 }
+const heatMap = {
+  path: 'charts/heatMap',
+  name: 'heatMap',
+  component: () => import('@/views/hotMap/index'),
+  meta: { title: '���������������', icon: 'example' }
+}
 
 // const PM5PM10ForecastChart = {
 //   path: 'charts/PM5PM10ForecastChart',
@@ -196,7 +202,26 @@
   component: () => import('@/views/dailyreport/index'),
   meta: { title: '������������������', icon: 'example' }
 }
-
+// ������������
+const summaryPage = {
+  path: 'toCarryOutLegislativeReforms/summaryPage',
+  name: 'summaryPage',
+  component: () =>
+    import('@/views/toCarryOutLegislativeReforms/summaryPage/index'),
+  meta: { title: '������������', icon: 'example' }
+}
+const reform = {
+  path: 'toCarryOutLegislativeReforms/reform',
+  name: 'reform',
+  component: () => import('@/views/toCarryOutLegislativeReforms/reform/index'),
+  meta: { title: '������������', icon: 'example' }
+}
+const delay = {
+  path: 'toCarryOutLegislativeReforms/delay',
+  name: 'delay',
+  component: () => import('@/views/toCarryOutLegislativeReforms/delay/index'),
+  meta: { title: '������������', icon: 'example' }
+}
 
 // ���������������������������
 const ruleMapping = {
@@ -214,6 +239,7 @@
   heatmap: heatmap,
   hexagon: hexagon,
   airPollutionCalendar: airPollutionCalendar,
+  heatMap: heatMap,
   averageContrast: averageContrast,
   industryContributionRate,
   regionalContributionRate,
@@ -226,6 +252,9 @@
   dailyreport,
   sectionReport,
   Listdata,
+  summaryPage,
+  reform,
+  delay
   // Equidata
 }
 
@@ -242,6 +271,7 @@
 export function routerMenus() {
   const routersMenu = JSON.parse(store.state.user.menus)
   // ��������������������������������� ���������������������������
+  console.log('routersMenu', routersMenu)
   const currentRoutes = router.options.routes
   if (routersMenu.length > 0) {
     routersMenu.forEach(item => {
@@ -263,7 +293,7 @@
           if (temp !== undefined) {
             currentRoutes[currentRoutes.length - 1].children.push(temp)
           } else {
-            console.log('������������������������������������������������������������')
+            console.log('������������������������������������������������������������1')
           }
         })
       } else {

--
Gitblit v1.8.0