调整:实训记录提交过滤非本人步骤

This commit is contained in:
fan 2023-02-10 16:07:35 +08:00
parent f1cbec026e
commit 09f27b7bfa

View File

@ -76,7 +76,9 @@ const training = {
},
setStepInfo: (state, stepInfo) => {
state.stepInfo = state.stepList.find(step => step.id === stepInfo.stepId);
state.stepRecord.push({ stepId: state.stepInfo.id, success: false, clientOperations: [] });
if (store.state.training.myMemberId == state.stepInfo.memberId) {
state.stepRecord.push({ stepId: state.stepInfo.id, success: false, clientOperations: [] });
}
Handler.judgeIsTextSendOperation();
},
clearStepInfo: (state, stepInfo) => {