diff --git a/src/views/newMap/newMapdraft/dataRelation/indicatorAssociatedInfo/detail.vue b/src/views/newMap/newMapdraft/dataRelation/indicatorAssociatedInfo/detail.vue index 95ba92db1..8cd256cd0 100644 --- a/src/views/newMap/newMapdraft/dataRelation/indicatorAssociatedInfo/detail.vue +++ b/src/views/newMap/newMapdraft/dataRelation/indicatorAssociatedInfo/detail.vue @@ -173,7 +173,7 @@ const sectionName = []; sectionList.forEach(item => { const device = this.$store.getters['map/getDeviceByCode'](item); - sectionName.push(device.name); + device && sectionName.push(device.name); }); return sectionName; },