代码调整
This commit is contained in:
parent
88cec5d2b0
commit
56b2885fba
@ -54,8 +54,8 @@
|
||||
<ExamPanel ref="examPanel" />
|
||||
<TrainingList ref="trainingList" />
|
||||
|
||||
<training-tip v-if="trainingId" ref="trainingTip" />
|
||||
<training-position-tip v-if="trainingId" ref="trainingPositionTip" />
|
||||
<training-tip v-if="trainingDetail||trainingId" ref="trainingTip" />
|
||||
<training-position-tip v-if="trainingDetail||trainingId" ref="trainingPositionTip" />
|
||||
<training-menu v-if="trainingDetail" ref="trainingMenu" :offset-bottom="offsetBottom" />
|
||||
<TrainingDesign ref="trainingDesign" />
|
||||
|
||||
@ -557,10 +557,17 @@ 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');
|
||||
this.$store.dispatch('socket/clearTrainingOverCount');
|
||||
this.$store.dispatch('trainingNew/clearStepOverCount');
|
||||
this.$store.dispatch('trainingNew/setTrainingDetail', null);
|
||||
this.$store.dispatch('trainingNew/trainingEnd');
|
||||
this.$store.dispatch('socket/clearTrainingStepTip');
|
||||
this.$store.dispatch('trainingNew/clearStepOrder');
|
||||
this.$store.dispatch('trainingNew/clearOperateOrder');
|
||||
this.$store.dispatch('trainingNew/changeTeachMode', '');
|
||||
},
|
||||
methods: {
|
||||
showChidren(data, index) {
|
||||
|
Loading…
Reference in New Issue
Block a user