加载剧本是先清除地图状态
This commit is contained in:
parent
b5a157fecd
commit
0ca2235549
@ -177,7 +177,10 @@ export default {
|
|||||||
},
|
},
|
||||||
|
|
||||||
async confirm() {
|
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/clearJlmapTrainView');
|
||||||
|
await this.$store.dispatch('map/setTrainWindowShow', false);
|
||||||
this.$emit('selectQuest', this.row, this.form.role);
|
this.$emit('selectQuest', this.row, this.form.role);
|
||||||
this.doClose();
|
this.doClose();
|
||||||
this.roleDoClose();
|
this.roleDoClose();
|
||||||
|
Loading…
Reference in New Issue
Block a user