Commit db00198a authored by zhengjiangtao's avatar zhengjiangtao

首页点击三维公司orgcode获取调整

parent cead3eea
......@@ -770,7 +770,7 @@ class IndexMap extends Component {
//过滤该公司没有权限的设备(有则跑马灯显示,否则不显示)
let newData = [];
data.map(e =>{
if(( e.code.indexOf(orgCode) !==-1) || ( e.authOrg.indexOf(orgCode) !==-1)){
if(( e.code.indexOf(orgCode) !==-1) || ( e.authOrg && e.authOrg.indexOf(orgCode) !==-1)){
newData.push(e);
}
})
......
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