songxingwei hace 2 años
padre
commit
e4d62b7bd5
Se han modificado 1 ficheros con 0 adiciones y 2 borrados
  1. 0 2
      vendor/zoujingli/think-library/src/helper/PageHelper.php

+ 0 - 2
vendor/zoujingli/think-library/src/helper/PageHelper.php

@@ -49,7 +49,6 @@ class PageHelper extends Helper
     {
         $query = $this->autoSortQuery($dbQuery);
         if ($page !== false) {
-            echo 222;die;
             $get = $this->app->request->get();
             $limits = [10, 20, 30, 40, 50, 60, 70, 80, 90, 100, 110, 120, 130, 140, 150, 160, 170, 180, 190, 200];
             if ($limit <= 1) {
@@ -79,7 +78,6 @@ class PageHelper extends Helper
             $link = $inner ? str_replace('<a href=', '<a data-open=', $paginate->render() ?: '') : ($paginate->render() ?: '');
             $this->class->assign('pagehtml', "<div class='pagination-container nowrap'><span>{$html}</span>{$link}</div>");
         } else {
-            echo 444;die;
             $result = ['list' => $query->select()->toArray()];
         }
         if (false !== $this->class->callback('_page_filter', $result['list'], $result) && $display) {