Commit 21da1600 authored by suhuiguang's avatar suhuiguang

1.提交被覆盖代码

parent 2e84a2c9
...@@ -1515,7 +1515,10 @@ class View3D extends Component { ...@@ -1515,7 +1515,10 @@ class View3D extends Component {
getExceptionAreasList = () => { getExceptionAreasList = () => {
exceptionRegionListAction().then(data=>{ exceptionRegionListAction().then(data=>{
this.setState({ exceptionAreas: data }); const exceptionAreas = data.filter(e=>{
return e.routePath && e.routePath.routePath && e.routePath.routePath.length > 0;
});
this.setState({ exceptionAreas });
}); });
} }
......
...@@ -70,7 +70,7 @@ class ExceptionArea extends Component { ...@@ -70,7 +70,7 @@ class ExceptionArea extends Component {
imgHeight: 128, imgHeight: 128,
image: safetyIndexIconMapper['transparent_rpn'] image: safetyIndexIconMapper['transparent_rpn']
}; };
obj.baseObjHelper.title = safetyIndex; obj.baseObjHelper.title = String(safetyIndex);
} }
toCameraPosition = (item) => { toCameraPosition = (item) => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment