dev_course
SylorHuang 6 years ago
parent e22ec14690
commit 650df60bed

@ -156,7 +156,7 @@ class PollVotesController < ApplicationController
if question_max_choices > 0 && user_vote_count > question_max_choices
normal_status(-1,"多选题答案超过最大限制!")
end
elsif (poll_user.present? && poll_user&.commit_status) || poll_user_status == 3
elsif (poll_user.present? && poll_user.commit_status == 1) || poll_user_status == 3
normal_status(-1,"已提交/已结束的问卷不允许修改!")
end
end

Loading…
Cancel
Save