|
@@ -93,9 +93,8 @@ export default {
|
|
if (mapjson) {
|
|
if (mapjson) {
|
|
mapjson = mapjson.geoJSON
|
|
mapjson = mapjson.geoJSON
|
|
} else {
|
|
} else {
|
|
- mapjson = await GETNOBASE(`../../map-geojson/${geoname}.json`).then((res) => {
|
|
|
|
- return res
|
|
|
|
- })
|
|
|
|
|
|
+ mapjson = await GETNOBASE(`../../map-geojson/${geoname}.json`).then((res) => res)
|
|
|
|
+ console.log(mapjson, 'mapjson')
|
|
echarts.registerMap(name, mapjson)
|
|
echarts.registerMap(name, mapjson)
|
|
}
|
|
}
|
|
const cityCenter = {}
|
|
const cityCenter = {}
|