This commit is contained in:
2021-02-23 19:03:15 +08:00
parent 2bb36e378f
commit da9de76cec
+2
View File
@@ -89,9 +89,11 @@ abstract class BaseActiveRecord extends Component implements IOrm, ArrayAccess
/**
* object init
* @throws ComponentException
*/
public function clean()
{
$this->debug(get_called_class() . ' clean after request.');
$this->_attributes = [];
$this->_oldAttributes = [];
}