调整列表分页查询
This commit is contained in:
parent
ad34bf081d
commit
537116ddbb
@ -95,8 +95,8 @@ abstract class BaseDataLists implements ListsInterface
|
|||||||
|
|
||||||
if ($this->pageType == 1) {
|
if ($this->pageType == 1) {
|
||||||
//分页
|
//分页
|
||||||
$this->pageNo = $this->request->get('page_no', 1) ?: 1;
|
$this->pageNo = $this->request->get('page_no', $this->request->get('page', 1)) ?: 1;
|
||||||
$this->pageSize = $this->request->get('page_size', $this->pageSize) ?: $this->pageSize;
|
$this->pageSize = $this->request->get('page_size', $this->request->get('limit', $this->pageSize)) ?: $this->pageSize;
|
||||||
} else {
|
} else {
|
||||||
//不分页
|
//不分页
|
||||||
$this->pageNo = 1;//强制到第一页
|
$this->pageNo = 1;//强制到第一页
|
||||||
|
Loading…
x
Reference in New Issue
Block a user