diff --git a/library/think/db/Query.php b/library/think/db/Query.php index ef403afd..786ed0c9 100644 --- a/library/think/db/Query.php +++ b/library/think/db/Query.php @@ -1007,7 +1007,8 @@ class Query if (!$simple) { $options = $this->getOptions(); $total = $this->count(); - $results = $this->options($options)->page($page, $listRows)->select(); + $bind = $this->bind; + $results = $this->options($options)->bind($bind)->page($page, $listRows)->select(); } else { $results = $this->limit(($page - 1) * $listRows, $listRows + 1)->select(); $total = null;