lilei 2 年之前
父节点
当前提交
a547956c87
共有 1 个文件被更改,包括 2 次插入3 次删除
  1. 2 3
      src/views/bigScreen/realTimeSalesReport/center-map.vue

+ 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 = {}