This commit is contained in:
2021-03-04 15:30:54 +08:00
parent 82356eee76
commit 761b34657b
+3 -1
View File
@@ -296,7 +296,6 @@ class ActiveRecord extends BaseActiveRecord
private function runRelate(): array private function runRelate(): array
{ {
$relates = []; $relates = [];
var_dump($this);
if (empty($this->_with)) { if (empty($this->_with)) {
return $relates; return $relates;
} }
@@ -315,6 +314,9 @@ class ActiveRecord extends BaseActiveRecord
*/ */
public function setWith($data): static public function setWith($data): static
{ {
echo '--------------->' . PHP_EOL;
var_dump($this->_with, get_called_class());
echo '<---------------' . PHP_EOL;
if (empty($data)) { if (empty($data)) {
return $this; return $this;
} }