测试bug修改

master
wangxi 3 years ago
parent fdeaf49b83
commit c823042a80

@ -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、valueindex保存当前试题的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>

@ -106,7 +106,7 @@ const Result = () => {
person_id:cookie.load('person_id')
});
},{
manual:true,
// manual:true,
formatResult:(result)=>{
const paper_id='1';
if(result.paper_id===''){

Loading…
Cancel
Save