修复Maximum call stack size exceeded的错误,不使用 ... 数组展开符;删除多余的注释和引用
This commit is contained in:
@@ -359,7 +359,9 @@ const StyleEditorPanel: React.FC<StyleEditorPanelProps> = ({
|
||||
setJunctionText(property);
|
||||
setShowJunctionTextLayer(styleConfig.showLabels);
|
||||
setApplyJunctionStyle(true);
|
||||
setContourLayerAvailable && setContourLayerAvailable(true);
|
||||
if (property === "pressure" && setContourLayerAvailable) {
|
||||
setContourLayerAvailable(true);
|
||||
}
|
||||
saveLayerStyle(layerId);
|
||||
open?.({
|
||||
type: "success",
|
||||
|
||||
Reference in New Issue
Block a user