|
@ -11,7 +11,7 @@ const Leftbottomecharts = (props) => { |
|
|
const yunzheng = dispatch(getyunzheng()).then((res) => { |
|
|
const yunzheng = dispatch(getyunzheng()).then((res) => { |
|
|
console.log(res.payload); |
|
|
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])); |
|
|
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]) |
|
|
}) |
|
|
}) |
|
|
}, []) |
|
|
}, []) |
|
|
|
|
|
|
|
|