This commit is contained in:
xl
2024-10-11 11:55:32 +08:00
parent 4fc9b42540
commit bf5d988ba4
+1
View File
@@ -658,6 +658,7 @@ abstract class Model extends Component implements ModelInterface, ArrayAccess, \
public function refresh(): static public function refresh(): static
{ {
$this->_oldAttributes = $this->_attributes; $this->_oldAttributes = $this->_attributes;
$this->isNewExample = false;
return $this; return $this;
} }