改名
This commit is contained in:
@@ -297,14 +297,16 @@ class ActiveRecord extends BaseActiveRecord
|
|||||||
{
|
{
|
||||||
$relates = [];
|
$relates = [];
|
||||||
if (empty($with = $this->getWith())) {
|
if (empty($with = $this->getWith())) {
|
||||||
|
var_dump($with);
|
||||||
return $relates;
|
return $relates;
|
||||||
}
|
}
|
||||||
foreach ($this->_with as $val) {
|
foreach ($with as $val) {
|
||||||
$relates[$val] = $this->resolveObject($val);
|
$relates[$val] = $this->resolveObject($val);
|
||||||
}
|
}
|
||||||
return $relates;
|
return $relates;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param $data
|
* @param $data
|
||||||
* @return ActiveRecord
|
* @return ActiveRecord
|
||||||
|
|||||||
Reference in New Issue
Block a user