加载剧本是先清除地图状态

This commit is contained in:
fan 2019-08-22 14:12:16 +08:00
parent b5a157fecd
commit 0ca2235549

View File

@ -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();