代码调整

This commit is contained in:
dong 2022-12-13 13:59:47 +08:00
parent 15226a3406
commit 2f0b44fb06

View File

@ -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();
}
}
},