|
|
@ -515,7 +515,7 @@ const Index = () => { |
|
|
|
} |
|
|
|
useEffect(() => { |
|
|
|
if (!isView) { |
|
|
|
let newRoadList = roadList.filter(e => e.routeName.match(road)) |
|
|
|
let newRoadList = roadList.filter(e => e?.routeName?.match(road)) |
|
|
|
let codeRoadSel = [] |
|
|
|
if (newRoadList.length && road != '') { |
|
|
|
newRoadList.forEach((e, index) => { |
|
|
@ -618,7 +618,7 @@ const Index = () => { |
|
|
|
} |
|
|
|
}) |
|
|
|
} |
|
|
|
console.log(handleType,'handleType'); |
|
|
|
|
|
|
|
return ( |
|
|
|
<View className='patrol'> |
|
|
|
{/* { |
|
|
|