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