diff --git a/library/think/Model.php b/library/think/Model.php index d7dc4536..07592671 100644 --- a/library/think/Model.php +++ b/library/think/Model.php @@ -1322,7 +1322,7 @@ abstract class Model implements \JsonSerializable, \ArrayAccess } } $db->commit(); - return $result; + return $this->toCollection($result); } catch (\Exception $e) { $db->rollback(); throw $e;