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