haoxinlei 7 gadi atpakaļ
vecāks
revīzija
bf81cfe208
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      index.js

+ 1 - 1
index.js

@@ -346,7 +346,7 @@ export function getShapesSelector(airspaceInfos, style, currentAirspaceIndex) {
     }
 }
 //获取数组
-export function getShapes(airspaceInfos, setStyle, currentAirspaceIndex) {
+export function getShapes(airspaceInfos, style, currentAirspaceIndex) {
     if (!style)
         style = {};
     currentAirspaceIndex = currentAirspaceIndex ? currentAirspaceIndex : () => -1;