芝麻web文件管理V1.00
编辑当前文件:/home/qrafawbu/www/vendor/livewire/livewire/src/WithPagination.php
['except' => 1]], $this->queryString); } public function initializeWithPagination() { $this->page = $this->resolvePage(); Paginator::currentPageResolver(function () { return $this->page; }); Paginator::defaultView($this->paginationView()); Paginator::defaultSimpleView($this->paginationSimpleView()); } public function paginationView() { return 'livewire::' . (property_exists($this, 'paginationTheme') ? $this->paginationTheme : 'tailwind'); } public function paginationSimpleView() { return 'livewire::simple-' . (property_exists($this, 'paginationTheme') ? $this->paginationTheme : 'tailwind'); } public function previousPage() { $this->setPage(max($this->page - 1, 1)); } public function nextPage() { $this->setPage($this->page + 1); } public function gotoPage($page) { $this->setPage($page); } public function resetPage() { $this->setPage(1); } public function setPage($page) { $this->page = $page; } public function resolvePage() { // The "page" query string item should only be available // from within the original component mount run. return request()->query('page', $this->page); } }