This commit is contained in:
2021-10-19 18:27:39 +08:00
parent bc2b60b42e
commit 4a951a3567
+1 -1
View File
@@ -199,7 +199,7 @@ class ActiveQuery extends Component implements ISqlBuilder
{
$data = $this->execute($this->builder->all())->all();
if (!empty($this->with)){
$this->modelClass->setWith($this->with);
$this->getWith($this->modelClass);
}
$collect = new Collection($this, $data, $this->modelClass);
if ($this->asArray) {