预测任务第一帧不请求接口
This commit is contained in:
parent
d6a524fde0
commit
3fc729fdb5
|
|
@ -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({
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user