diff --git a/src/pages/SAT/fns/demo.ts b/src/pages/SAT/fns/demo.ts index 80618ef..dda5f20 100644 --- a/src/pages/SAT/fns/demo.ts +++ b/src/pages/SAT/fns/demo.ts @@ -118,7 +118,8 @@ export async function demoOrbitGeneration(viewer: Viewer) { }); const issDataSource = new SpaceCatalogDataSource({ name: 'issSource' }); - issDataSource.entities.add(ISS); + Object.assign(window, { issDataSource }); + issDataSource.entities.add(ISS); // FIXME: add后有问题。 await viewer.dataSources.add(issDataSource); // await new Promise((_r) => setTimeout(_r, 1000)); diff --git a/src/pages/SAT/index.page.vue b/src/pages/SAT/index.page.vue index e7f2c5a..93a912f 100644 --- a/src/pages/SAT/index.page.vue +++ b/src/pages/SAT/index.page.vue @@ -4,7 +4,7 @@ import CesiumViewer from './CesiumViewer.vue'; const $datatableShow = ref(false); // @ts-expect-error https://digitalarsenal.io/Widgets/InfoBox/InfoBoxDescription.css -globalThis.CESIUM_BASE_URL = 'http://digitalarsenal.io/'; +globalThis.CESIUM_BASE_URL = 'https://digitalarsenal.io/';