diff --git a/admin/src/pages/examinationrules/normal/step/index.tsx b/admin/src/pages/examinationrules/normal/step/index.tsx index 3ab7db0..4b08799 100644 --- a/admin/src/pages/examinationrules/normal/step/index.tsx +++ b/admin/src/pages/examinationrules/normal/step/index.tsx @@ -376,7 +376,7 @@ export default () => { initialValue={ruleData?.subject_id} key='value' request={async () => { - return querySubjectList().then(({ data }) => { + return querySubjectList({}).then(({ data }) => { return data.list.map((item) => { if (item?.subject_id === ruleData?.subject_id) { setSubjectName(item?.subject_name) // 设置关联主题名称 diff --git a/web/src/pages/mockExamination/chapterErrorListPaper.tsx b/web/src/pages/mockExamination/chapterErrorListPaper.tsx index 83becf0..1dc43b4 100644 --- a/web/src/pages/mockExamination/chapterErrorListPaper.tsx +++ b/web/src/pages/mockExamination/chapterErrorListPaper.tsx @@ -123,34 +123,34 @@ const CardList = () => { const tiNum = (a: number) => { switch (a) { case 0: - return "A:" + return "A" break; case 1: - return "B:" + return "B" break; case 2: - return "C:" + return "C" break; case 3: - return "D:" + return "D" break; case 4: - return "E:" + return "E" break; case 5: - return "F:" + return "F" break; case 6: - return "G:" + return "G" break; case 7: - return "H:" + return "H" break; case 8: - return "I:" + return "I" break; case 9: - return "J:" + return "J" break; default: return "" @@ -314,7 +314,7 @@ const CardList = () => { }} value={item.id} style={{ padding: 5, fontSize: 16 }} - >{tiNum(index)}{item.answer} + >{tiNum(index)}:{item.answer} })} @@ -370,7 +370,7 @@ const CardList = () => { value={item.id} style={{ padding: 5, fontSize: 16 }} - >{tiNum(index)}{item.answer} + >{tiNum(index)}:{item.answer} })} : questionNow.question_type === 2 ? ( @@ -411,7 +411,7 @@ const CardList = () => { }} value={item.id} style={{ padding: 5, fontSize: 16 }} - >{tiNum(index)}{item.answer} + >{tiNum(index)}:{item.answer} })} ) : "" @@ -426,8 +426,23 @@ const CardList = () => { setParsingShow(!parsingShow) console.log('questionNow',questionNow) }}>查看答案 - -
+