This commit is contained in:
2021-03-16 10:48:19 +08:00
parent f3bcb51667
commit 25e4251775
-9
View File
@@ -425,16 +425,7 @@ abstract class BaseActiveRecord extends Component implements IOrm, ArrayAccess
if (empty($param)) {
return $this;
}
$this->_attributes = array_merge($this->_attributes, $param);
//
// foreach ($param as $key => $val) {
// if ($this->has($key)) {
// $this->setAttribute($key, $val);
// } else {
// $this->$key = $val;
// }
// }
return $this;
}