4.0日常更新
This commit is contained in:
@@ -19,9 +19,7 @@ class Form extends Admin{
|
||||
*/
|
||||
public function index(FormModel $form){
|
||||
if ($this->request->isAjax()) {
|
||||
$res = $form->paginate(25, false, array(
|
||||
'query' => $this->request->param()
|
||||
));
|
||||
$res = $form->paginate($this->request->pageConfig);
|
||||
$data = $res->toArray();
|
||||
$this->data['data'] = $data;
|
||||
return $this->data;
|
||||
|
||||
Reference in New Issue
Block a user