fix: 更新卫星和地面站管理器中的选项解构,确保 showOrbit 属性的正确性

This commit is contained in:
严浩
2025-04-03 13:29:25 +08:00
parent 61e6b21d90
commit b742597f61
3 changed files with 3 additions and 3 deletions

View File

@ -36,7 +36,7 @@ export class HCesiumSatelliteManager {
return existingEntry.entity;
}
const { id, tle, showOrbit = true } = options;
const { id, tle, showOrbit } = options;
// --- 解析 TLE 和计算轨道 ---
const satrec = this.calculator.parseTle(tle, id);