diff --git a/src/views/Home/homePanelsLayoutPage/index.js b/src/views/Home/homePanelsLayoutPage/index.js index 8370f0930..b4805c4f3 100644 --- a/src/views/Home/homePanelsLayoutPage/index.js +++ b/src/views/Home/homePanelsLayoutPage/index.js @@ -353,13 +353,13 @@ const HomePage = ({ showPanels, mode }) => { dispatch.map.setLayerVisible({ RealDrpLayer: true }) dispatch.runtime.setRainDrpData(list||[]); - dispatch.runtime.setFeaturePop({ - id: record.stcd, - data: { ...record, myParams: tms }, - type: 'drp', - lgtd: record.lgtd, - lttd: record.lttd, - }) + // dispatch.runtime.setFeaturePop({ + // id: record.stcd, + // data: { ...record, myParams: tms }, + // type: 'drp', + // lgtd: record.lgtd, + // lttd: record.lttd, + // }) } catch (error) { console.error('获取雨量站数据失败', error); diff --git a/src/views/Home/hsyy/ybfa.js b/src/views/Home/hsyy/ybfa.js index eb769e202..bef819dd5 100644 --- a/src/views/Home/hsyy/ybfa.js +++ b/src/views/Home/hsyy/ybfa.js @@ -50,7 +50,7 @@ const Page = ({ setCtx }) => { const getData = async()=>{ const data = await getTableData() - setData(data) + setData([data[0]]) }