改名
This commit is contained in:
@@ -116,6 +116,7 @@ abstract class AbstractCollection extends Component implements \IteratorAggregat
|
|||||||
{
|
{
|
||||||
if (!is_object($this->model)) {
|
if (!is_object($this->model)) {
|
||||||
$this->model = $this->model::populate([]);
|
$this->model = $this->model::populate([]);
|
||||||
|
$this->model->setIsCreate(false);
|
||||||
}
|
}
|
||||||
return $this->model;
|
return $this->model;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user