修改实训报错问题

This commit is contained in:
dong 2023-05-09 09:47:28 +08:00
parent 623f8968b7
commit 7f63638c0e

View File

@ -345,7 +345,7 @@ export default {
//
const sectionLeft = this.$store.getters['map/getDeviceByCode'](sectionModel.leftSectionCode);
const sectionRight = this.$store.getters['map/getDeviceByCode'](sectionModel.rightSectionCode);
if (sectionLeft.routeLock || sectionRight.routeLock) {
if ((sectionLeft && sectionLeft.routeLock) || (sectionRight && sectionRight.routeLock)) {
isArrangementRoute = true;
}
}