From afb610e40075f2cdca9089e146d960e5beaac435 Mon Sep 17 00:00:00 2001 From: jiangzhongzhi Date: Thu, 6 Jul 2023 17:05:38 +0800 Subject: [PATCH] =?UTF-8?q?=E5=97=AF=E5=93=BC=3F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/meteorological/monitor/DryHotAir/index.vue | 3 ++- src/views/meteorological/monitor/FloodWarning/index.vue | 2 +- src/views/meteorological/monitor/drought/index.vue | 3 ++- src/views/meteorological/monitor/freeze/index.vue | 3 ++- 4 files changed, 7 insertions(+), 4 deletions(-) diff --git a/src/views/meteorological/monitor/DryHotAir/index.vue b/src/views/meteorological/monitor/DryHotAir/index.vue index ff2ecc7..5cbea74 100644 --- a/src/views/meteorological/monitor/DryHotAir/index.vue +++ b/src/views/meteorological/monitor/DryHotAir/index.vue @@ -365,6 +365,7 @@ let layers = ref(null); //村 // 组件挂载完成后执行 onMounted(() => { value.value = getYesterday().toJSON().substr(0, 10); + getmeteorology() //地图 initMap(); @@ -390,7 +391,7 @@ function getmeteorology() { }) } -getmeteorology() + function getZdmc() { diff --git a/src/views/meteorological/monitor/FloodWarning/index.vue b/src/views/meteorological/monitor/FloodWarning/index.vue index b06730b..e4fb2f1 100644 --- a/src/views/meteorological/monitor/FloodWarning/index.vue +++ b/src/views/meteorological/monitor/FloodWarning/index.vue @@ -371,6 +371,7 @@ let layers = ref(null); //村 // 组件挂载完成后执行 onMounted(() => { value.value = getYesterday().toJSON().substr(0, 10); + getmeteorology() //地图 initMap(); @@ -396,7 +397,6 @@ function getmeteorology() { }) } -getmeteorology() function getZdmc() { diff --git a/src/views/meteorological/monitor/drought/index.vue b/src/views/meteorological/monitor/drought/index.vue index 5950d93..75dff93 100644 --- a/src/views/meteorological/monitor/drought/index.vue +++ b/src/views/meteorological/monitor/drought/index.vue @@ -371,6 +371,7 @@ let layers = ref(null); //村 // 组件挂载完成后执行 onMounted(() => { value.value = getYesterday().toJSON().substr(0, 10); + getmeteorology() //地图 initMap(); @@ -396,7 +397,7 @@ function getmeteorology() { }) } -getmeteorology() + function getZdmc() { diff --git a/src/views/meteorological/monitor/freeze/index.vue b/src/views/meteorological/monitor/freeze/index.vue index edfadec..ebfc527 100644 --- a/src/views/meteorological/monitor/freeze/index.vue +++ b/src/views/meteorological/monitor/freeze/index.vue @@ -365,6 +365,7 @@ let layers = ref(null); //村 // 组件挂载完成后执行 onMounted(() => { value.value = getYesterday().toJSON().substr(0, 10); + getmeteorology() //地图 initMap(); @@ -390,7 +391,7 @@ function getmeteorology() { }) } -getmeteorology() + function getZdmc() {