|
|
@ -558,7 +558,7 @@ module ExercisesHelper
|
|
|
|
standard_answer = standard_answer.first.to_s.split("").map(&:to_i)
|
|
|
|
standard_answer = standard_answer.first.to_s.split("").map(&:to_i)
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|
if user_answer_content == standard_answer #答案一致,多选或单选才给分,答案不对不给分
|
|
|
|
if user_answer_content == standard_answer.sort #答案一致,多选或单选才给分,答案不对不给分
|
|
|
|
if standard_answer.size > 0
|
|
|
|
if standard_answer.size > 0
|
|
|
|
q_score_1 = q.question_score
|
|
|
|
q_score_1 = q.question_score
|
|
|
|
else
|
|
|
|
else
|
|
|
|