添加到清除效果
This commit is contained in:
@@ -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 {
|
||||||
|
|||||||
@@ -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函数 =====================
|
||||||
|
|||||||
Reference in New Issue
Block a user