This commit is contained in:
2020-09-14 10:53:11 +08:00
parent e3c46fd293
commit a752d28b2f
+1 -1
View File
@@ -107,7 +107,7 @@ class Pagination extends Component
*/
public function plunk($param = [])
{
if ($this->_length >= $this->_max) {
if ($this->_max > 0 && $this->_length >= $this->_max) {
return;
}
[$length, $data] = $this->get();