dev_course
SylorHuang 5 years ago
parent 16f53062ee
commit 9b8887fa0f

@ -334,7 +334,7 @@ module ExercisesHelper
show_unreview_count = nil show_unreview_count = nil
end end
if exercise_status == 2 && exercise_end_time.exists? if exercise_status == 2 && exercise_end_time.present?
ex_left_time = how_much_time(exercise_end_time) ex_left_time = how_much_time(exercise_end_time)
else #已截止后不显示时间 else #已截止后不显示时间
ex_left_time = nil ex_left_time = nil

Loading…
Cancel
Save