|
|
|
@ -332,7 +332,7 @@ const CardList = () => {
|
|
|
|
|
bordered
|
|
|
|
|
dataSource={e.children}
|
|
|
|
|
renderItem={(item, index) => {
|
|
|
|
|
setNum(index+1);
|
|
|
|
|
|
|
|
|
|
// console.log(item, 'list')
|
|
|
|
|
return <List.Item
|
|
|
|
|
id={item.id}
|
|
|
|
@ -344,7 +344,7 @@ const CardList = () => {
|
|
|
|
|
onClick={() => {
|
|
|
|
|
// 查看解析关闭
|
|
|
|
|
setParsingShow(false)
|
|
|
|
|
|
|
|
|
|
setNum(index+1);
|
|
|
|
|
paperInfo.map((e) => {
|
|
|
|
|
if (e.id === item.id) {
|
|
|
|
|
// 重写单选的label、value,index:保存当前试题的index。
|
|
|
|
@ -376,7 +376,7 @@ const CardList = () => {
|
|
|
|
|
>
|
|
|
|
|
<Space direction="vertical" style={{ width: '100%', padding: '24px 48px' }}>
|
|
|
|
|
<Typography style={{ marginBottom: 16, fontSize: 18 }}>
|
|
|
|
|
{num}. {questionNow?.question_stem}
|
|
|
|
|
{questionNow?.question_stem}
|
|
|
|
|
|
|
|
|
|
{/* {console.log(questionNow.answerId, 'answerId', questionNow.answerId)} */}
|
|
|
|
|
</Typography>
|
|
|
|
|