This commit is contained in:
2021-04-25 18:09:24 +08:00
parent 70565b9c40
commit 480ba875d0
+1
View File
@@ -116,6 +116,7 @@ abstract class AbstractCollection extends Component implements \IteratorAggregat
{
if (!is_object($this->model)) {
$this->model = $this->model::populate([]);
$this->model->setIsCreate(false);
}
return $this->model;
}