lining hace 3 años
padre
commit
05e3c6712c
Se han modificado 2 ficheros con 275 adiciones y 917 borrados
  1. 274 916
      src/views/Home/components/map/svg-map-nx.vue
  2. 1 1
      src/views/NewPages/power-benchmarking.vue

La diferencia del archivo ha sido suprimido porque es demasiado grande
+ 274 - 916
src/views/Home/components/map/svg-map-nx.vue


+ 1 - 1
src/views/NewPages/power-benchmarking.vue

@@ -1129,7 +1129,7 @@ export default {
           foreigntype: "风电",
         })
         .then((res) => {
-          if (res.code == 200) this.calculate(res.data);
+          if (res.code == 200 && res.data.length > 0) this.calculate(res.data);
         });
 
       // let that = this;