改名
This commit is contained in:
@@ -313,6 +313,9 @@ class ActiveRecord extends BaseActiveRecord
|
|||||||
*/
|
*/
|
||||||
public function setWith($data): static
|
public function setWith($data): static
|
||||||
{
|
{
|
||||||
|
if (empty($data)) {
|
||||||
|
return $this;
|
||||||
|
}
|
||||||
$this->_with = $data;
|
$this->_with = $data;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user