qzc-dev
parent
1bb1ead94a
commit
b6f9486afd
|
|
@ -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);
|
||||
|
|
|
|||
|
|
@ -50,7 +50,7 @@ const Page = ({ setCtx }) => {
|
|||
|
||||
const getData = async()=>{
|
||||
const data = await getTableData()
|
||||
setData(data)
|
||||
setData([data[0]])
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue