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