diff --git a/public/static/libs/mapbox/style/customs/night-style.json b/public/static/libs/mapbox/style/customs/night-style.json index d6f214b..a24c342 100644 --- a/public/static/libs/mapbox/style/customs/night-style.json +++ b/public/static/libs/mapbox/style/customs/night-style.json @@ -1811,8 +1811,8 @@ 16 ], [ - 20, - 22 + 15, + 16 ] ] }, @@ -1870,7 +1870,7 @@ "type": "symbol", "source": "openmaptiles", "source-layer": "place", - "maxzoom": 16, + "minzoom": 16, "filter": [ "all", [ @@ -1894,11 +1894,11 @@ "stops": [ [ 8, - 20 + 15 ], [ 10, - 24 + 15 ] ] } diff --git a/public/static/libs/mapbox/style/customs/night-style.json b/public/static/libs/mapbox/style/customs/night-style.json index d6f214b..a24c342 100644 --- a/public/static/libs/mapbox/style/customs/night-style.json +++ b/public/static/libs/mapbox/style/customs/night-style.json @@ -1811,8 +1811,8 @@ 16 ], [ - 20, - 22 + 15, + 16 ] ] }, @@ -1870,7 +1870,7 @@ "type": "symbol", "source": "openmaptiles", "source-layer": "place", - "maxzoom": 16, + "minzoom": 16, "filter": [ "all", [ @@ -1894,11 +1894,11 @@ "stops": [ [ 8, - 20 + 15 ], [ 10, - 24 + 15 ] ] } diff --git a/src/views/floodSys/floodYP/riskAsses.vue b/src/views/floodSys/floodYP/riskAsses.vue index 56e6a95..b03d499 100644 --- a/src/views/floodSys/floodYP/riskAsses.vue +++ b/src/views/floodSys/floodYP/riskAsses.vue @@ -81,6 +81,7 @@ import { schemeList, moduleGeometryData } from '@/api/floodSys/floodYP'; import RiskRCont from './riskAssesRight.vue'; import xiaoganCityBoundary from '@/assets/geojson/xiaoganCityBoundary.json'; +import { onBeforeUnmount } from 'vue'; const { proxy } = getCurrentInstance(); const ifExpand = ref(true); const allData = reactive({ @@ -317,6 +318,8 @@ onMounted(() => {}); onBeforeMount(() => { stopTimer(); +}); +onBeforeUnmount(() => { newfiberMap_risk.map.removeLayer('buildingLayer'); });