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
@@ -148,6 +148,7 @@ abstract class AbstractCollection extends Component implements \IteratorAggregat
$model = clone $this->getModel();
$model = $model->setAttributes($this->_item[$offset]);
$model->setIsCreate(false);
$model->refresh();
return $model;