代码调整
This commit is contained in:
parent
15226a3406
commit
2f0b44fb06
@ -225,9 +225,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);
|
||||
const status = judgeStationControl(this.selected.belongStationCode, this.selected.stationCode, this.work);
|
||||
if (this.selected._type === 'Signal' && status) {
|
||||
this.arrangementRoute();
|
||||
if (this.selected._type === 'Signal') {
|
||||
const status = judgeStationControl(this.selected.belongStationCode, this.selected.stationCode, this.work);
|
||||
status && this.arrangementRoute();
|
||||
}
|
||||
}
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user