diff --git a/src/views/display/demon/addQuest.vue b/src/views/display/demon/addQuest.vue index 0c2c146af..5d362c4bb 100644 --- a/src/views/display/demon/addQuest.vue +++ b/src/views/display/demon/addQuest.vue @@ -177,7 +177,10 @@ export default { }, async confirm() { + await this.$store.dispatch('training/over'); + await this.$store.dispatch('training/setMapDefaultState'); await this.$store.dispatch('map/clearJlmapTrainView'); + await this.$store.dispatch('map/setTrainWindowShow', false); this.$emit('selectQuest', this.row, this.form.role); this.doClose(); this.roleDoClose();