预测任务第一帧不请求接口

This commit is contained in:
冯少康 2026-08-11 09:12:24 +08:00
parent d6a524fde0
commit 3fc729fdb5

View File

@ -360,7 +360,7 @@ function playback() {
}); });
} else { } else {
const startTime = dayjs(currentSelection.value[0].startDate) const startTime = dayjs(currentSelection.value[0].startDate)
.add(6, "hour") .add(0, "hour")
.format("YYYY-MM-DD HH:mm:ss"); .format("YYYY-MM-DD HH:mm:ss");
const params = { const params = {
dataType: currentSelection.value[0].predictionModel, dataType: currentSelection.value[0].predictionModel,
@ -384,7 +384,7 @@ function playback() {
EventBusTool.getEventBus().publish("upRightHfOrylIcon"); EventBusTool.getEventBus().publish("upRightHfOrylIcon");
// //
EventBusTool.getEventBus().publish("updateHfKsFlag", false); EventBusTool.getEventBus().publish("updateHfKsFlag", true);
getHcQxData(params, (res: any) => { getHcQxData(params, (res: any) => {
const loading = ElLoading.service({ const loading = ElLoading.service({