推出考试销毁提交事件
This commit is contained in:
parent
5666af96cc
commit
5212b6417a
@ -93,6 +93,7 @@ export default {
|
|||||||
beforeDestroy() {
|
beforeDestroy() {
|
||||||
this.$store.dispatch('trainingNew/setExamSwitch', false);
|
this.$store.dispatch('trainingNew/setExamSwitch', false);
|
||||||
if (this.examInterval) { clearInterval(this.examInterval); }
|
if (this.examInterval) { clearInterval(this.examInterval); }
|
||||||
|
EventBus.$off('trainExamSubmit');
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
EventBus.$on('trainExamSubmit', (data) => {
|
EventBus.$on('trainExamSubmit', (data) => {
|
||||||
|
Loading…
Reference in New Issue
Block a user