实训开始清理之前的操作记录
This commit is contained in:
parent
5887fada7a
commit
4f7b04fde5
@ -72,6 +72,7 @@ import { startTraining, endTraining, getPublishTrainingDetail, loadPublishTraini
|
|||||||
import ScenePlayRole from './scenePlayRole';
|
import ScenePlayRole from './scenePlayRole';
|
||||||
import TestResult from './testResult';
|
import TestResult from './testResult';
|
||||||
import { EventBus } from '@/scripts/event-bus';
|
import { EventBus } from '@/scripts/event-bus';
|
||||||
|
import Handler from '@/scripts/cmdPlugin/newHandler';
|
||||||
export default {
|
export default {
|
||||||
name: 'TipTrainingDetail',
|
name: 'TipTrainingDetail',
|
||||||
components: {
|
components: {
|
||||||
@ -156,6 +157,7 @@ export default {
|
|||||||
this.$store.dispatch('trainingNew/changeTeachMode', this.demoMode);
|
this.$store.dispatch('trainingNew/changeTeachMode', this.demoMode);
|
||||||
},
|
},
|
||||||
handlerStart() {
|
handlerStart() {
|
||||||
|
Handler.clear();
|
||||||
if (this.trainingDetail.type === 'SCENE' && !this.examSwitch) {
|
if (this.trainingDetail.type === 'SCENE' && !this.examSwitch) {
|
||||||
this.$refs.scenePlayRole.doShow();
|
this.$refs.scenePlayRole.doShow();
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user