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