Commit eeff67e2 authored by zhengjiangtao's avatar zhengjiangtao

fix bug

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