Compare commits

...

2 Commits

  1. 2
      web/client/src/sections/quanju/containers/footer/leadership/centerleft/echarts/centerleftecharts.js
  2. 2
      web/client/src/sections/quanju/containers/footer/leadership/left/echarts/leftbottomecharts.js

2
web/client/src/sections/quanju/containers/footer/leadership/centerleft/echarts/centerleftecharts.js

@ -11,7 +11,7 @@ const Leftbottomecharts = (props) => {
const yunzheng = dispatch(getyunzheng()).then((res) => {
console.log(res.payload);
setMax(Math.max.apply(null, [res.payload.data.passengerTransport, res.payload.data.hazardousGoods, res.payload.data.taxi, res.payload.data.bus]));
setList([res.payload.data.passengerTransport, res.payload.data.hazardousGoodsBusiness.length, res.payload.data.hazardousGoods, res.payload.data.taxi, res.payload.data.bus])
setList([res.payload.data.passengerTransport, res.payload.data.freightTransport, res.payload.data.hazardousGoods, res.payload.data.taxi, res.payload.data.bus])
})
}, [])

2
web/client/src/sections/quanju/containers/footer/leadership/left/echarts/leftbottomecharts.js

@ -19,7 +19,7 @@ const Leftbottomecharts = (props) => {
return item.count.toFixed(3)
}))
setValue(res.payload.data.constructionRebuild.map((item, index) => {
return item.count
return item.count.toFixed(3)
}))
// setYears()
});

Loading…
Cancel
Save