Skip to content

Commit

Permalink
fix: #462
Browse files Browse the repository at this point in the history
  • Loading branch information
Oaciqihz committed Oct 14, 2024
1 parent 1a232d3 commit 9e6d107
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 @@ -465,7 +465,7 @@ export default function Challenge(params) {
label={question.title}
question={question}
value={changeAnswer}
defaultValue={detail.answer ? detail.answer[i] : null}
defaultValue={detail?.answer ? detail.answer[i] : null}
defaultFileList={fileList}
isPreview={isPreview}
// answer={realAnswer[i]}
Expand Down

0 comments on commit 9e6d107

Please sign in to comment.