This commit is contained in:
2021-02-23 19:15:39 +08:00
parent 5fd07c2327
commit 074762cdae
5 changed files with 36 additions and 3 deletions
+1 -3
View File
@@ -98,12 +98,10 @@ abstract class BaseActiveRecord extends Component implements IOrm, ArrayAccess
/**
*
* @throws ComponentException
* recover class by clone
*/
public function __clone()
{
$this->error('__clone ' . get_called_class());
$this->clean();
}