实训调整

This commit is contained in:
joylink_fanyuhong 2024-08-15 15:35:43 +08:00
parent 364bd1e539
commit f66844bc27
2 changed files with 2 additions and 1 deletions

View File

@ -122,7 +122,7 @@ class Handler {
const group = router.currentRoute.query.group; const group = router.currentRoute.query.group;
const stepInfo = store.state.trainingNew.stepInfo; const stepInfo = store.state.trainingNew.stepInfo;
endTrainingStep(group, stepInfo.id).then(resp => { endTrainingStep(group, stepInfo.id).then(resp => {
store.dispatch('trainingNew/clearOperateOrder'); // store.dispatch('trainingNew/clearOperateOrder');
}).catch(e => { }).catch(e => {
console.error('进入下一步失败!', e); console.error('进入下一步失败!', e);
}); });

View File

@ -83,6 +83,7 @@ const training = {
if (store.state.training.myMemberId == state.stepInfo.memberId) { if (store.state.training.myMemberId == state.stepInfo.memberId) {
state.stepRecord.push({ stepId: state.stepInfo.id, success: false, clientOperations: [] }); state.stepRecord.push({ stepId: state.stepInfo.id, success: false, clientOperations: [] });
} }
state.operateOrder = 0;
Handler.judgeIsTextSendOperation(); Handler.judgeIsTextSendOperation();
}, },
clearStepInfo: (state, stepInfo) => { clearStepInfo: (state, stepInfo) => {