This commit is contained in:
chenbo 2024-01-22 17:56:50 +08:00
parent fc2b61c575
commit b387cc547e
1 changed files with 3 additions and 1 deletions

View File

@ -217,7 +217,9 @@ class TaskController extends BaseAdminController
public function taskList()
{
$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'])
->page($page, $limit)
->order(['id' => 'desc'])