This commit is contained in:
2021-11-11 03:29:02 +08:00
parent 1b4c7ea957
commit cb83878684
+1
View File
@@ -612,6 +612,7 @@ abstract class Model extends Component implements ModelInterface, ArrayAccess, T
*/
public function save($data = NULL): static|bool
{
var_dump($this->_attributes);
if (!is_null($data)) {
$this->_attributes = merge($this->_attributes, $data);
}