diff --git a/src/layout/Container/mapTimeSlider.vue b/src/layout/Container/mapTimeSlider.vue index 20fc3abf..ba3e7b45 100644 --- a/src/layout/Container/mapTimeSlider.vue +++ b/src/layout/Container/mapTimeSlider.vue @@ -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 }); }); diff --git a/src/layout/Container/meteorologyMenu.vue b/src/layout/Container/meteorologyMenu.vue index efe2c27c..c5e6da77 100644 --- a/src/layout/Container/meteorologyMenu.vue +++ b/src/layout/Container/meteorologyMenu.vue @@ -110,7 +110,7 @@ function handleIconClick(item: meteorologyItem) { // 往态势传递数据 EventBusTool.getEventBus().publish("playData", { key: "addyctqjsGis", - data: res.result, + data: res, weatherType:gisImgOpt.weatherType }); }); diff --git a/src/utils/axios/tqyb/data/index.ts b/src/utils/axios/tqyb/data/index.ts index 94fa6cbb..6c073a1a 100644 --- a/src/utils/axios/tqyb/data/index.ts +++ b/src/utils/axios/tqyb/data/index.ts @@ -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); + // } } /**