调整加载线路字段
This commit is contained in:
parent
fab4e149c8
commit
cb47cd612d
@ -49,7 +49,7 @@ export function parser(data, skinCode, showConfig) {
|
||||
|
||||
zrUtil.each(data.sectionList || [], elem => {
|
||||
if (elem.type == '02' || elem.type == '03') {
|
||||
mapDevice[elem.code].parentName = mapDevice[mapDevice[elem.code].parentCode].name;
|
||||
mapDevice[elem.code].parentName = mapDevice[elem.parentCode] ? mapDevice[elem.parentCode].name : '';
|
||||
}
|
||||
}, this);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user