lilei 2 gadi atpakaļ
vecāks
revīzija
a547956c87

+ 2 - 3
src/views/bigScreen/realTimeSalesReport/center-map.vue

@@ -93,9 +93,8 @@ export default {
       if (mapjson) {
         mapjson = mapjson.geoJSON
       } 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)
       }
       const cityCenter = {}