@ -382,7 +382,7 @@ class StudentWorksController < ApplicationController
when 3 #学生评分 学生评分显示平均分
# 匿评分
@work.student_score = new_score.stu_score(@work.id)
if @homework.homework_type == "group" && params[:same_score] && new_score.score.present?
if @homework.homework_type == "group" && new_score.score.present?
add_score_to_member @work, @homework, new_score
end