代码调整

This commit is contained in:
dong 2022-12-13 13:41:10 +08:00
parent fe4b04fb70
commit c1128f992b

View File

@ -224,8 +224,9 @@ export default {
},
'$store.state.menuOperation.leftClickCount': function (val) {
// const control = MenuContextHandler.getStationControl(this.selected);
const centralStation = this.$store.getters['map/getDeviceByCode'](this.selected.stationCode);
if (this.selected._type === 'Signal' && this.selected.controlMode == centralStation.controlMode) {
// const centralStation = this.$store.getters['map/getDeviceByCode'](this.selected.stationCode);
const status = judgeStationControl(this.selected.belongStationCode, this.selected.stationCode, this.work);
if (this.selected._type === 'Signal' && status) {
this.arrangementRoute();
}
}