回放修改接口格式
This commit is contained in:
parent
37a088d6ac
commit
7fdf5c810a
|
|
@ -307,7 +307,7 @@ function updateTimeLabel(ctime: any) {
|
||||||
// 往态势传递数据
|
// 往态势传递数据
|
||||||
EventBusTool.getEventBus().publish("playData", {
|
EventBusTool.getEventBus().publish("playData", {
|
||||||
key: "addyctqjsGis",
|
key: "addyctqjsGis",
|
||||||
data: res.result,
|
data: res,
|
||||||
weatherType:params.weatherType
|
weatherType:params.weatherType
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
@ -320,7 +320,7 @@ function updateTimeLabel(ctime: any) {
|
||||||
// 往态势传递数据
|
// 往态势传递数据
|
||||||
EventBusTool.getEventBus().publish('playData', {
|
EventBusTool.getEventBus().publish('playData', {
|
||||||
key: 'addyctqjsGis',
|
key: 'addyctqjsGis',
|
||||||
data: res.result,
|
data: res,
|
||||||
weatherType:3
|
weatherType:3
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
|
||||||
|
|
@ -110,7 +110,7 @@ function handleIconClick(item: meteorologyItem) {
|
||||||
// 往态势传递数据
|
// 往态势传递数据
|
||||||
EventBusTool.getEventBus().publish("playData", {
|
EventBusTool.getEventBus().publish("playData", {
|
||||||
key: "addyctqjsGis",
|
key: "addyctqjsGis",
|
||||||
data: res.result,
|
data: res,
|
||||||
weatherType:gisImgOpt.weatherType
|
weatherType:gisImgOpt.weatherType
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
|
||||||
|
|
@ -164,9 +164,9 @@ export async function playbackSearchData(
|
||||||
isLoding
|
isLoding
|
||||||
});
|
});
|
||||||
|
|
||||||
if (response.success && response.code === 200) {
|
// if (response.success && response.code === 200) {
|
||||||
callback?.(response);
|
callback?.(response);
|
||||||
}
|
// }
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user