From 84e1b4d51e6007350c8fde0b5805ea32e18d9580 Mon Sep 17 00:00:00 2001 From: wucongxing8150 <815046773@qq.com> Date: Mon, 14 Oct 2024 15:16:33 +0800 Subject: [PATCH] 111 --- api/dto/Question.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/dto/Question.go b/api/dto/Question.go index cd57f7c..4e33e65 100644 --- a/api/dto/Question.go +++ b/api/dto/Question.go @@ -163,7 +163,7 @@ func (r *QuestionDto) LoadQuestionAnswer(m *model.Question) *QuestionDto { } } } else { - r.QuestionAnswer[0] = m.QuestionAnswer + r.QuestionAnswer = append(r.QuestionAnswer, m.QuestionAnswer) } } return r