qzc-dev
秦子超 2025-10-14 14:21:58 +08:00
parent 1bb1ead94a
commit b6f9486afd
2 changed files with 8 additions and 8 deletions

View File

@ -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);

View File

@ -50,7 +50,7 @@ const Page = ({ setCtx }) => {
const getData = async()=>{
const data = await getTableData()
setData(data)
setData([data[0]])
}