fixed
This commit is contained in:
parent
fc2b61c575
commit
b387cc547e
|
@ -217,7 +217,9 @@ class TaskController extends BaseAdminController
|
||||||
public function taskList()
|
public function taskList()
|
||||||
{
|
{
|
||||||
$param = $this->request->param();
|
$param = $this->request->param();
|
||||||
[$page, $limit] = $this->getPage();
|
$page = $param['page_no'] ?? 1;
|
||||||
|
$limit = $param['page_size'] ?? 15;
|
||||||
|
// [$page, $limit] = $this->getPage();
|
||||||
$list = Task::with(['directorInfo'])
|
$list = Task::with(['directorInfo'])
|
||||||
->page($page, $limit)
|
->page($page, $limit)
|
||||||
->order(['id' => 'desc'])
|
->order(['id' => 'desc'])
|
||||||
|
|
Loading…
Reference in New Issue