Compare commits

...

2 Commits

@ -340,8 +340,8 @@ const CardList = () => {
let score = 0
// 当前分类下试题总数
if (JSON.stringify(rulesPaperInfo) !== "{}") {
rulesPaperInfo.question_type_count.map((e, i) => {
if (JSON.stringify(rulesPaperInfo) !== "{}" && rulesPaperInfo.length > 0) {
rulesPaperInf?.question_type_count.map((e, i) => {
if (e.question_type === questionType) {
num = e.count
questionName = e.type_name
@ -444,7 +444,6 @@ const CardList = () => {
<Space direction="vertical" style={{ width: '100%', padding: '24px 48px' }}>
<Typography style={{ marginBottom: 16, fontSize: 18 }}>
{questionNow.id ? questionNow.index[0] + 1 : ""} {questionNow?.question_stem}
<Button onClick={() => showQuestionTypeSocore(questionNow.question_type)}>1</Button>
{/* {console.log(questionNow.answerId, 'answerId', questionNow.answerId)} */}
</Typography>
<Space direction="vertical" style={{ fontSize: 16 }}>

Loading…
Cancel
Save