mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-01 20:52:48 +08:00
改进一对多的预载入 支持传入闭包条件
This commit is contained in:
@@ -890,6 +890,8 @@ class Query
|
||||
call_user_func_array($closure, [ & $this]);
|
||||
}
|
||||
$i++;
|
||||
} elseif ($closure) {
|
||||
$with[$key] = $closure;
|
||||
}
|
||||
}
|
||||
$this->via();
|
||||
|
||||
Reference in New Issue
Block a user