|
@ -27,7 +27,7 @@ const Right = (props) => { |
|
|
const daolus = dispatch(getdaolutongji()).then((res) => { |
|
|
const daolus = dispatch(getdaolutongji()).then((res) => { |
|
|
// console.log("[roads]", res.payload.data.roadType);
|
|
|
// console.log("[roads]", res.payload.data.roadType);
|
|
|
setRoads(res.payload.data.townCulvert) |
|
|
setRoads(res.payload.data.townCulvert) |
|
|
console.log(res.payload.data.townCulvert); |
|
|
// console.log(res.payload.data.townCulvert);
|
|
|
// const
|
|
|
// const
|
|
|
}) |
|
|
}) |
|
|
}, []) |
|
|
}, []) |
|
@ -39,7 +39,7 @@ const Right = (props) => { |
|
|
|
|
|
|
|
|
{ |
|
|
{ |
|
|
list.map((item, index) => { |
|
|
list.map((item, index) => { |
|
|
console.log(list); |
|
|
// console.log(list);
|
|
|
|
|
|
|
|
|
return ( |
|
|
return ( |
|
|
<li className={index} style={{ |
|
|
<li className={index} style={{ |
|
|