Update AbstractController.php

增加分页默认值
This commit is contained in:
jonny77
2020-09-01 10:03:16 +08:00
committed by GitHub
parent c50277ced7
commit 2c1b521e92

View File

@@ -110,8 +110,7 @@ abstract class AbstractController extends Controller
'group' => $this->options['table']['group'] ?? [],
],
'noticeAble' => !empty($this->options['notices'] ?? []),
'page'=>$this->options['table']['page'] ?? []
'page'=>$this->options['table']['page'] ?? [20,40,60,80,100]
],
];
if (method_exists($this, 'beforeInfo')) {