修复:增加非空校验
This commit is contained in:
parent
32d188cdfc
commit
35dceb2950
@ -377,7 +377,7 @@ export default {
|
||||
this.overlapType = '';
|
||||
},
|
||||
changeSectionSelected(list, flag, type) {
|
||||
list.forEach((item) => {
|
||||
list && list.forEach((item) => {
|
||||
const section = this.$store.getters['map/getDeviceByCode'](item);
|
||||
if (section.logicSectionCodeList && section.logicSectionCodeList.length) {
|
||||
section.logicSectionCodeList.forEach( (logicSectionCode) => {
|
||||
|
@ -482,7 +482,7 @@ export default {
|
||||
this.$refs['protect'].routeSectionListFocus(flag);
|
||||
},
|
||||
changeSectionSelected(list, flag, type) {
|
||||
list.forEach((item) => {
|
||||
list && list.forEach((item) => {
|
||||
const section = this.$store.getters['map/getDeviceByCode'](item);
|
||||
if (section.logicSectionCodeList && section.logicSectionCodeList.length) {
|
||||
section.logicSectionCodeList.forEach( (logicSectionCode) => {
|
||||
|
Loading…
Reference in New Issue
Block a user