diff --git a/src/jmapNew/theme/datie_02/menus/menuButtonCtc.vue b/src/jmapNew/theme/datie_02/menus/menuButtonCtc.vue index 97ea3c357..1baea15fa 100644 --- a/src/jmapNew/theme/datie_02/menus/menuButtonCtc.vue +++ b/src/jmapNew/theme/datie_02/menus/menuButtonCtc.vue @@ -773,9 +773,10 @@ export default { operate.over = true; operate.cmdType = CMD.Switch.CMD_SWITCH_BLOCK; } else if (this.operation === OperationEvent.Station.guideLock.button.operation) { + console.log(this.selected, 'selected'); operate.userOperationType = UserOperationType.LEFTCLICK; operate.over = true; - operate.cmdType = CMD.Station.CMD_STATION_MASTER_LOCK; + operate.cmdType = this.selected.instance && this.selected.instance.guideLock ? CMD.Station.CMD_STATION_MASTER_UNLOCK : CMD.Station.CMD_STATION_MASTER_LOCK; } this.$store.dispatch('trainingNew/next', operate).then(({valid}) => { }).catch(e => {