实训开始清理之前的操作记录

This commit is contained in:
dong 2023-05-10 11:07:05 +08:00
parent 5887fada7a
commit 4f7b04fde5

View File

@ -72,6 +72,7 @@ import { startTraining, endTraining, getPublishTrainingDetail, loadPublishTraini
import ScenePlayRole from './scenePlayRole';
import TestResult from './testResult';
import { EventBus } from '@/scripts/event-bus';
import Handler from '@/scripts/cmdPlugin/newHandler';
export default {
name: 'TipTrainingDetail',
components: {
@ -156,6 +157,7 @@ export default {
this.$store.dispatch('trainingNew/changeTeachMode', this.demoMode);
},
handlerStart() {
Handler.clear();
if (this.trainingDetail.type === 'SCENE' && !this.examSwitch) {
this.$refs.scenePlayRole.doShow();
} else {