Skip to content

Commit 4b0fc34

Browse files
committed
master: Fixed 修复下钻问题
1 parent 369cac8 commit 4b0fc34

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/layout/Map.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
const fullOptions = ref({ options: {} })
2525
2626
const setData = async (code = 100000) => {
27+
echartsRef.value.myChart && echartsRef.value.myChart.clear()
2728
const geoJSON = await API_GET_GEO_JSON_GET({ code })
2829
loading.value = false
2930
fullOptions.value.options = chartOptions.setMapOption([], geoJSON)

0 commit comments

Comments
 (0)