modify plugin name

This commit is contained in:
2022-02-25 15:57:05 +08:00
parent 6b3953311a
commit a8a2a1fbeb
+1 -1
View File
@@ -1059,7 +1059,7 @@ abstract class Model extends Component implements ModelInterface, ArrayAccess, T
*/
public static function populate(array $data): static
{
$model = duplicate(static::class);
$model = new static();
$model->_attributes = $data;
$model->_oldAttributes = $data;
$model->setIsNowExample(FALSE);