qzc-dev
parent
1bb1ead94a
commit
b6f9486afd
|
|
@ -353,13 +353,13 @@ const HomePage = ({ showPanels, mode }) => {
|
||||||
|
|
||||||
dispatch.map.setLayerVisible({ RealDrpLayer: true })
|
dispatch.map.setLayerVisible({ RealDrpLayer: true })
|
||||||
dispatch.runtime.setRainDrpData(list||[]);
|
dispatch.runtime.setRainDrpData(list||[]);
|
||||||
dispatch.runtime.setFeaturePop({
|
// dispatch.runtime.setFeaturePop({
|
||||||
id: record.stcd,
|
// id: record.stcd,
|
||||||
data: { ...record, myParams: tms },
|
// data: { ...record, myParams: tms },
|
||||||
type: 'drp',
|
// type: 'drp',
|
||||||
lgtd: record.lgtd,
|
// lgtd: record.lgtd,
|
||||||
lttd: record.lttd,
|
// lttd: record.lttd,
|
||||||
})
|
// })
|
||||||
|
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
console.error('获取雨量站数据失败', error);
|
console.error('获取雨量站数据失败', error);
|
||||||
|
|
|
||||||
|
|
@ -50,7 +50,7 @@ const Page = ({ setCtx }) => {
|
||||||
|
|
||||||
const getData = async()=>{
|
const getData = async()=>{
|
||||||
const data = await getTableData()
|
const data = await getTableData()
|
||||||
setData(data)
|
setData([data[0]])
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue