Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
杨建斌
/
page
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
1
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
cd22f38f
authored
2018-03-17 20:37:05 +0800
by
Zelig
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
datatable 分页bug
1 parent
4b2fcc3b
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
application/controllers/Work.php
application/controllers/Work.php
View file @
cd22f38
...
...
@@ -203,11 +203,11 @@ class Work extends CI_Controller {
public
function
data
()
{
$data
[
'draw'
]
=
1
;
$data
[
'draw'
]
=
$_GET
[
'draw'
]
++
;
$data
[
'recordsTotal'
]
=
57
;
$data
[
'recordsFiltered'
]
=
57
;
$data
[
'data'
]
=
[
[
'id'
=>
1001
,
'name'
=>
'张
三
'
],
[
'id'
=>
1001
,
'name'
=>
'张
四
'
],
[
'id'
=>
1001
,
'name'
=>
'张三'
],
[
'id'
=>
1001
,
'name'
=>
'张三'
],
[
'id'
=>
1001
,
'name'
=>
'张三'
],
...
...
Write
Preview
Styling with
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment