This commit is contained in:
as2252258@163.com
2021-03-04 23:44:56 +08:00
parent e8e5641f41
commit 5676b0d7fd
+1
View File
@@ -827,6 +827,7 @@ abstract class BaseActiveRecord extends Component implements IOrm, ArrayAccess
public function refresh(): static public function refresh(): static
{ {
$this->_oldAttributes = $this->_attributes; $this->_oldAttributes = $this->_attributes;
$this->setIsCreate(false);
return $this; return $this;
} }