This commit is contained in:
2021-04-25 18:11:27 +08:00
parent 480ba875d0
commit 201d70446b
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -58,6 +58,7 @@ class CollectionIterator extends \ArrayIterator
{
$model = clone $this->model;
$model->setAttributes($current);
$model->setIsCreate(false);
$model->refresh();
return $model;
}