添加到清除效果

This commit is contained in:
wzy-warehouse
2026-06-16 10:00:42 +08:00
parent 24a3b8ca0a
commit 2e2cbcb18d
2 changed files with 6 additions and 2 deletions
@@ -58,11 +58,14 @@
operation_type: '暴雨灾害链自动推演', operation_type: '暴雨灾害链自动推演',
}) })
.then((res) => { .then((res) => {
// 进行预警
CesiumUtilsSingleton.addPulseEffect(res.data.list);
// 推进到下一步 // 推进到下一步
stepStore.nextStep(); stepStore.nextStep();
// 进行预警 // 产出报告
CesiumUtilsSingleton.addPulseEffect(res.data.list);
console.log(res); console.log(res);
}); });
} else { } else {
+1
View File
@@ -552,6 +552,7 @@ export class CesiumUtils {
this.clearAllPrimitives(clearType); this.clearAllPrimitives(clearType);
this.clearAllLayers(clearType); this.clearAllLayers(clearType);
this.clearAllGeoJsonLayers(clearType); this.clearAllGeoJsonLayers(clearType);
this.#removeAllPulses();
} }
// ===================== getter 和 setter函数 ===================== // ===================== getter 和 setter函数 =====================