代码调整
This commit is contained in:
parent
fe4b04fb70
commit
c1128f992b
@ -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();
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user