添加到清除效果
This commit is contained in:
@@ -58,11 +58,14 @@
|
||||
operation_type: '暴雨灾害链自动推演',
|
||||
})
|
||||
.then((res) => {
|
||||
// 进行预警
|
||||
CesiumUtilsSingleton.addPulseEffect(res.data.list);
|
||||
|
||||
// 推进到下一步
|
||||
stepStore.nextStep();
|
||||
|
||||
// 进行预警
|
||||
CesiumUtilsSingleton.addPulseEffect(res.data.list);
|
||||
// 产出报告
|
||||
|
||||
console.log(res);
|
||||
});
|
||||
} else {
|
||||
|
||||
@@ -552,6 +552,7 @@ export class CesiumUtils {
|
||||
this.clearAllPrimitives(clearType);
|
||||
this.clearAllLayers(clearType);
|
||||
this.clearAllGeoJsonLayers(clearType);
|
||||
this.#removeAllPulses();
|
||||
}
|
||||
|
||||
// ===================== getter 和 setter函数 =====================
|
||||
|
||||
Reference in New Issue
Block a user