This commit is contained in:
2020-09-11 17:58:02 +08:00
parent 2d789b3494
commit 45aaf011f9
7 changed files with 66 additions and 48 deletions
+1 -1
View File
@@ -410,6 +410,6 @@ class ActiveQuery extends Component
*/
public function getPrimary()
{
return $this->modelClass::getPrimary();
return $this->modelClass->getPrimary();
}
}