This commit is contained in:
yuanke 2016-04-20 14:39:38 +08:00
parent c6174406fb
commit 4182bb5fe7
1 changed files with 1 additions and 1 deletions

View File

@ -603,7 +603,7 @@ class AdminController < ApplicationController
@code_work_tests[tCount-1] = {} @code_work_tests[tCount-1] = {}
@code_work_tests = paginateHelper @code_work_tests,30 @code_work_tests = paginateHelper @code_work_tests,30
@page = (params['page'] || 1).to_i - 1 @page = (params['page'] || 1).to_i - 1 #1111111111
#取出需要的那一页数据 #取出需要的那一页数据
tStart = @page*30 tStart = @page*30