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