@ -525,7 +525,7 @@ class ShixunsController < ApplicationController
# 如果实训允许跳关,传参params[:challenge_id]跳入具体的关卡
@current_task =
if params[:challenge_id] && @shixun.task_pass
current_myshixun.games.where(challenge_id: params[:challenge_id]).take
games.where(challenge_id: params[:challenge_id]).take
else
current_myshixun.current_task(games)
end