mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-06 23:02:48 +08:00
修正Query类的with方法
This commit is contained in:
@@ -1416,8 +1416,8 @@ class Query
|
|||||||
$field = $this->options['with_field'];
|
$field = $this->options['with_field'];
|
||||||
unset($this->options['with_field']);
|
unset($this->options['with_field']);
|
||||||
}
|
}
|
||||||
$this->field($field, false, $joinTable, $joinAlias, $joinName . '__');
|
|
||||||
}
|
}
|
||||||
|
$this->field($field, false, $joinTable, $joinAlias, $joinName . '__');
|
||||||
$i++;
|
$i++;
|
||||||
} elseif ($closure) {
|
} elseif ($closure) {
|
||||||
$with[$key] = $closure;
|
$with[$key] = $closure;
|
||||||
|
|||||||
Reference in New Issue
Block a user