feat: 同步下新环境
This commit is contained in:
@@ -57,14 +57,13 @@ class Bootstrap extends Paginator
|
||||
*/
|
||||
protected function getLinks()
|
||||
{
|
||||
if ($this->simple) {
|
||||
if ($this->simple)
|
||||
return '';
|
||||
}
|
||||
|
||||
$block = [
|
||||
'first' => null,
|
||||
'slider' => null,
|
||||
'last' => null,
|
||||
'last' => null
|
||||
];
|
||||
|
||||
$side = 3;
|
||||
@@ -197,7 +196,7 @@ class Bootstrap extends Paginator
|
||||
*/
|
||||
protected function getPageLinkWrapper($url, $page)
|
||||
{
|
||||
if ($this->currentPage() == $page) {
|
||||
if ($page == $this->currentPage()) {
|
||||
return $this->getActivePageWrapper($page);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user