From f74222e571d9164a59e01194f35ff1e34f10a423 Mon Sep 17 00:00:00 2001 From: quanyawei <401863037@qq.com> Date: Fri, 15 Dec 2023 17:12:33 +0800 Subject: [PATCH] fix:热力图播放 --- src/router/dynamicRouter.js | 12 ++++++++++-- 1 files changed, 10 insertions(+), 2 deletions(-) diff --git a/src/router/dynamicRouter.js b/src/router/dynamicRouter.js index 5358aeb..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', @@ -200,7 +206,8 @@ const summaryPage = { path: 'toCarryOutLegislativeReforms/summaryPage', name: 'summaryPage', - component: () => import('@/views/toCarryOutLegislativeReforms/summaryPage/index'), + component: () => + import('@/views/toCarryOutLegislativeReforms/summaryPage/index'), meta: { title: '������������', icon: 'example' } } const reform = { @@ -232,6 +239,7 @@ heatmap: heatmap, hexagon: hexagon, airPollutionCalendar: airPollutionCalendar, + heatMap: heatMap, averageContrast: averageContrast, industryContributionRate, regionalContributionRate, @@ -263,7 +271,7 @@ export function routerMenus() { const routersMenu = JSON.parse(store.state.user.menus) // ��������������������������������� ��������������������������� - console.log('routersMenu',routersMenu) + console.log('routersMenu', routersMenu) const currentRoutes = router.options.routes if (routersMenu.length > 0) { routersMenu.forEach(item => { -- Gitblit v1.8.0