大铁线路调整18
This commit is contained in:
parent
279522f544
commit
216166c572
@ -141,7 +141,11 @@
|
||||
},
|
||||
getMainDeviceName(code) {
|
||||
const device = this.$store.getters['map/getDeviceByCode'](code);
|
||||
return device.name + '[' + code + ']';
|
||||
if (device){
|
||||
return device.name + '[' + code + ']';
|
||||
} else {
|
||||
return '';
|
||||
}
|
||||
},
|
||||
getModelType(modelType) {
|
||||
if (modelType === 'indicator') {
|
||||
|
Loading…
Reference in New Issue
Block a user