This commit is contained in:
DESKTOP-I3JPKHK\wy 2025-04-24 17:39:26 +08:00
parent 4a03e92468
commit f79baf3a5e
1 changed files with 1 additions and 1 deletions

View File

@ -157,7 +157,7 @@ Widget $scoringQuestionsView(BuildContext context, HomeworkReviewState sateData,
/// ///
studentScoreListener() { studentScoreListener() {
item.studentScore = studentScore.value; item.studentScore = studentScore.value;
var theVal = sateData.studentQuestions.value?.firstWhereOrNull((e) => e.questionNo == e.questionNo); var theVal = sateData.studentQuestions.value?.firstWhereOrNull((e) => e.questionNo == item.questionNo);
if (theVal != null) theVal.studentScore = studentScore.value; if (theVal != null) theVal.studentScore = studentScore.value;
var studentQuestions = sateData.studentQuestions.value; var studentQuestions = sateData.studentQuestions.value;