最新
This commit is contained in:
@ -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") {
|
||||
|
Reference in New Issue
Block a user