Commit 621343e6 by wufan

fix:修复考试paperId报错问题

parent 8dd6143a
...@@ -33,7 +33,7 @@ function TestLinkTaskData(props) { ...@@ -33,7 +33,7 @@ function TestLinkTaskData(props) {
setActiveExam(stageExamCustomerVOList[0].contentVOList[0]); setActiveExam(stageExamCustomerVOList[0].contentVOList[0]);
const { contentId, paperId } = stageExamCustomerVOList[0].contentVOList[0]; const { contentId, paperId } = stageExamCustomerVOList[0].contentVOList[0];
const { match } = props; const { match } = props;
const path = `${match.url}/test-detail/${contentId}?paperId=${paperId}1&userId=${storeCustomerId}&fromTrainingTask=true`; const path = `${match.url}/test-detail/${contentId}?paperId=${paperId}&userId=${storeCustomerId}&fromTrainingTask=true`;
window.RCHistory.replace(path); window.RCHistory.replace(path);
} }
}); });
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment