This commit is contained in:
2021-10-19 18:30:18 +08:00
parent 550aa6a087
commit ded06c8728
+1 -3
View File
@@ -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);
} }