chore: 更新 setup-node-environment 版本并添加静态代码分析工作流
All checks were successful
/ depcheck (push) Successful in 2m24s
/ lint-build-and-check (push) Successful in 2m35s
/ build-and-deploy-to-vercel (push) Successful in 3m4s
/ surge (push) Successful in 15m42s
/ playwright (push) Successful in 3m11s

This commit is contained in:
严浩
2025-03-10 11:00:34 +08:00
parent 8733c3e42e
commit ca1521328c
5 changed files with 27 additions and 11 deletions

View File

@ -10,13 +10,9 @@ onMounted(async () => {
viewer = cesium_init(document.getElementById('cesiumContainer')!);
Object.assign(globalThis, { viewer });
(({ run }) => {
if (run) demo_01_OrbitGeneration(viewer);
})({ run: false });
(({ run }) => (run ? demo_01_OrbitGeneration(viewer) : null))({ run: false });
(({ run }) => {
if (run) demo_02_Track(viewer);
})({ run: true });
(({ run }) => (run ? demo_02_Track(viewer) : null))({ run: true });
});
</script>