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