This commit is contained in:
2021-03-04 15:36:13 +08:00
parent d50673765f
commit 5566bc34b5
+1
View File
@@ -862,6 +862,7 @@ abstract class BaseActiveRecord extends Component implements IOrm, ArrayAccess
if (array_key_exists($name, $this->_attributes)) {
return static::getColumns()->_decode($name, $value);
}
var_dump($name, $this->_with);
if (in_array($name, $this->_with)) {
return $this->resolveClass($this->{$this->_relate[$name]}());
}