代码调整
This commit is contained in:
parent
6db5926156
commit
5da594ec55
@ -29,7 +29,7 @@ export function covertMemberData (activeTrainList, resp) {
|
||||
const name = member.name ? '-' + member.name : '';
|
||||
if (member.deviceCode) {
|
||||
const device = store.getters['map/getDeviceByCode'](member.deviceCode);
|
||||
member.deviceName = device.name || device.groupNumber;
|
||||
member.deviceName = device ? device.name || device.groupNumber : '';
|
||||
member.label = member.type + member.deviceName + name + userName;
|
||||
member.normalName = member.type + member.deviceName + name;
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user