mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-07 23:22:48 +08:00
调整
This commit is contained in:
@@ -24,9 +24,7 @@ class Collection extends BaseCollection
|
|||||||
public function load($relation)
|
public function load($relation)
|
||||||
{
|
{
|
||||||
$item = current($this->items);
|
$item = current($this->items);
|
||||||
if ($item instanceof Model) {
|
$item->eagerlyResultSet($this->items, $relation);
|
||||||
$item->eagerlyResultSet($this->items, $relation);
|
|
||||||
}
|
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user