{"action":"closed","issue":{"url":"https://api.github.com/repos/d2-projects/d2-admin/issues/110","repository_url":"https://api.github.com/repos/d2-projects/d2-admin","labels_url":"https://api.github.com/repos/d2-projects/d2-admin/issues/110/labels{/name}","comments_url":"https://api.github.com/repos/d2-projects/d2-admin/issues/110/comments","events_url":"https://api.github.com/repos/d2-projects/d2-admin/issues/110/events","html_url":"https://github.com/d2-projects/d2-admin/issues/110","id":367045354,"node_id":"MDU6SXNzdWUzNjcwNDUzNTQ=","number":110,"title":"数据分页如何根据接口返回的总页数和总条数动态展示","user":{"login":"kiner-tang","id":10286961,"node_id":"MDQ6VXNlcjEwMjg2OTYx","avatar_url":"https://avatars3.githubusercontent.com/u/10286961?v=4","gravatar_id":"","url":"https://api.github.com/users/kiner-tang","html_url":"https://github.com/kiner-tang","followers_url":"https://api.github.com/users/kiner-tang/followers","following_url":"https://api.github.com/users/kiner-tang/following{/other_user}","gists_url":"https://api.github.com/users/kiner-tang/gists{/gist_id}","starred_url":"https://api.github.com/users/kiner-tang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kiner-tang/subscriptions","organizations_url":"https://api.github.com/users/kiner-tang/orgs","repos_url":"https://api.github.com/users/kiner-tang/repos","events_url":"https://api.github.com/users/kiner-tang/events{/privacy}","received_events_url":"https://api.github.com/users/kiner-tang/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-10-05T03:18:32Z","updated_at":"2018-10-11T09:44:36Z","closed_at":"2018-10-11T09:44:36Z","author_association":"NONE","body":"数据分页如何根据接口返回的总页数和总条数动态展示\r\n\r\n目前使用分页是，都是根据data数组的长度来判断是否分页的，但实际开发中一般都是访问接口获取第一页数据的同时，接口会返回数据库中所有数据的条数和总页数，我们需要根据总条数和总页数动态的显示分页数量。在d2-admin中不知该如何设置，在文档中未找到介绍。"}}
{"actor":{"display_login":"FairyEver"}}