Skip to content

Commit

Permalink
fix: open_qust null
Browse files Browse the repository at this point in the history
  • Loading branch information
Oaciqihz committed May 9, 2024
1 parent 2962b0f commit 271134e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/views/Challenge/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -458,7 +458,7 @@ export default function Challenge(params) {
label={question.title}
question={question}
value={changeAnswer}
defaultValue={detail.answer[i]}
defaultValue={detail.answer ? detail.answer[i] : null}
defaultFileList={fileList}
isPreview={isPreview}
// answer={realAnswer[i]}
Expand Down

0 comments on commit 271134e

Please sign in to comment.