diff --git a/library/think/db/Query.php b/library/think/db/Query.php index 88fc23a1..d9cc56a5 100644 --- a/library/think/db/Query.php +++ b/library/think/db/Query.php @@ -1134,6 +1134,7 @@ class Query if ($field) { $this->options['soft_delete'] = [$field, $condition ?: ['null', '']]; } + return $this; } /**