fix(后台分页): 上一页下一页为空

master
yin5th 2022-11-15 17:33:28 +08:00
parent d86f621d0d
commit b958757bf0
1 changed files with 2 additions and 2 deletions

View File

@ -51,7 +51,7 @@ class Bootstrap extends Paginator
* $text = '<svg height="18" viewBox="0 0 18 18" width="18"><path d="M6 12 L13 9 L13 15 z"></path></svg>'
* @return string
*/
protected function getPreviousButton(string $text = '<span class="prev"></span>'): string
protected function getPreviousButton(string $text = '<span class="prev">>></span>'): string
{
if ($this->currentPage() <= 1) {
@ -72,7 +72,7 @@ class Bootstrap extends Paginator
* $text = '<svg height="18" viewBox="0 0 18 18" width="18"><path d="M6 9 L13 12 L6 15 z"></path></svg>'
* @return string
*/
protected function getNextButton(string $text='<span class="next"></span>'): string
protected function getNextButton(string $text='<span class="next">>></span>'): string
{
if (!$this->hasMore) {
// return $this->getDisabledTextWrapper($text);