代码调整

This commit is contained in:
joylink_cuiweidong 2022-10-31 16:32:54 +08:00
parent e67d26ddf9
commit e9fc041b03
2 changed files with 5 additions and 1 deletions

View File

@ -557,6 +557,10 @@ export default {
},
beforeDestroy() {
window.removeEventListener('click', this.close);
this.$store.dispatch('trainingNew/trainingEnd');
this.$store.dispatch('socket/clearTrainingStepTip');
this.$store.dispatch('trainingNew/clearStepOrder');
this.$store.dispatch('trainingNew/clearOperateOrder');
},
methods: {
showChidren(data, index) {

View File

@ -159,7 +159,7 @@ export default {
if (row.playerIdJson) {
memberId = JSON.parse(row.playerIdJson)[0];
}
const data = {mapId: row.mapId, type:row.mapSystem || 'METRO', memberId: memberId};
const data = {mapId: row.mapId, type:row.mapSystem || 'METRO', itemMap:{DEFAULT_MEMBER:memberId} };
// domConfig: Object
// hasExam: false
// hasTraining: false