This commit is contained in:
2025-09-02 10:01:05 +08:00
parent 1484bd44fc
commit ff5f583326
68 changed files with 983 additions and 14306 deletions

View File

@ -679,13 +679,13 @@ const tree = {
});
return;
}
if (["kml", "gdb", "shp"].includes(node.source_type)) {
if (node.source_type == "pressModel") {
let p_entity = window._entityMap.get(node.p_id);
let entity = window._entityMap.get(node.source_id);
if (entity) {
if (p_entity && status == true) {
p_entity.show = status;
}else if(entity){
entity.show = status;
if (status) {
return; // 如果是这些类型且status为true直接返回不执行后续逻辑
}
}
}
if (node.source_type == "node" || node.source_type == "element") {