diff --git a/src/jmapNew/theme/chengdu_03/menus/menuButton.vue b/src/jmapNew/theme/chengdu_03/menus/menuButton.vue index 88a7971fe..3b021eb83 100644 --- a/src/jmapNew/theme/chengdu_03/menus/menuButton.vue +++ b/src/jmapNew/theme/chengdu_03/menus/menuButton.vue @@ -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; } }