fix: 卫星列表初始化逻辑
This commit is contained in:
@ -25,9 +25,10 @@ const satelliteState = reactive<HCesiumManagerSatelliteState>({
|
||||
satellites: [],
|
||||
selectedIds: new Set<string>(),
|
||||
});
|
||||
|
||||
// 初始化卫星列表
|
||||
satelliteState.satellites = [
|
||||
onMounted(async () => {
|
||||
await new Promise((resolve) => setTimeout(resolve, 1000));
|
||||
// 初始化卫星列表
|
||||
satelliteState.satellites = [
|
||||
{
|
||||
id: 'STARLINK-11371',
|
||||
tle: `示例-仅卫星
|
||||
@ -53,9 +54,10 @@ satelliteState.satellites = [
|
||||
2 00694 30.3579 298.5470 0554905 319.4291 36.6190 14.10324656 83424`,
|
||||
showOrbit: true,
|
||||
showCoverage: false,
|
||||
showPath: false,
|
||||
showPath: true,
|
||||
},
|
||||
];
|
||||
];
|
||||
});
|
||||
|
||||
// 计算卫星 Checkbox Group 的 options
|
||||
const satelliteCheckboxOptions = computed(() =>
|
||||
|
Reference in New Issue
Block a user