改名
This commit is contained in:
+1
-3
@@ -311,12 +311,10 @@ class Model extends Base\Model
|
|||||||
private function runRelate(): array
|
private function runRelate(): array
|
||||||
{
|
{
|
||||||
$relates = [];
|
$relates = [];
|
||||||
|
|
||||||
var_dump($this->getWith());
|
|
||||||
|
|
||||||
if (empty($with = $this->getWith())) {
|
if (empty($with = $this->getWith())) {
|
||||||
return $relates;
|
return $relates;
|
||||||
}
|
}
|
||||||
|
var_dump($with);
|
||||||
foreach ($with as $val) {
|
foreach ($with as $val) {
|
||||||
$relates[$val] = $this->resolveObject($val);
|
$relates[$val] = $this->resolveObject($val);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user