This commit is contained in:
2026-01-02 01:08:47 +08:00
parent c016853ff8
commit 0b27a7dc7d
+1
View File
@@ -502,6 +502,7 @@ abstract class Model extends Component implements ModelInterface, ArrayAccess, \
*/ */
public function save(): static|bool public function save(): static|bool
{ {
var_dump($this->_attributes);
if (!$this->validator($this->rules(), $this->_attributes) || !$this->beforeSave($this)) { if (!$this->validator($this->rules(), $this->_attributes) || !$this->beforeSave($this)) {
return FALSE; return FALSE;
} }