道岔钩锁操作结束清除operation
This commit is contained in:
parent
ba7b9f39eb
commit
f270cbfb3b
@ -89,7 +89,7 @@ export default {
|
||||
},
|
||||
methods: {
|
||||
doShow(selected, operate = null) {
|
||||
this.$root.$emit('dialogOpen', selected);
|
||||
this.$root.$emit('dialogOpen', selected);
|
||||
this.selected = selected;
|
||||
if (!this.dialogShow) {
|
||||
this.switchName = '';
|
||||
@ -119,7 +119,8 @@ export default {
|
||||
doClose() {
|
||||
this.loading = false;
|
||||
this.dialogShow = false;
|
||||
this.$root.$emit('dialogClose', this.selected);
|
||||
this.operation = '';
|
||||
this.$root.$emit('dialogClose', this.selected);
|
||||
this.$store.dispatch('training/emitTipFresh');
|
||||
},
|
||||
commit() {
|
||||
|
Loading…
Reference in New Issue
Block a user