We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 369cac8 commit 4b0fc34Copy full SHA for 4b0fc34
src/layout/Map.vue
@@ -24,6 +24,7 @@
24
const fullOptions = ref({ options: {} })
25
26
const setData = async (code = 100000) => {
27
+ echartsRef.value.myChart && echartsRef.value.myChart.clear()
28
const geoJSON = await API_GET_GEO_JSON_GET({ code })
29
loading.value = false
30
fullOptions.value.options = chartOptions.setMapOption([], geoJSON)
0 commit comments