mirror of https://gitee.com/karson/fastadmin.git
修复管理员列表,部分情况下角色组不显示的BUG
parent
878e186969
commit
dd3f951f13
|
|
@ -62,7 +62,7 @@ class Admin extends Backend
|
||||||
if ($this->request->isAjax())
|
if ($this->request->isAjax())
|
||||||
{
|
{
|
||||||
|
|
||||||
$childrenGroupIds = $this->auth->getChildrenAdminIds(true);
|
$childrenGroupIds = $this->childrenGroupIds;
|
||||||
$groupName = AuthGroup::where('id', 'in', $childrenGroupIds)
|
$groupName = AuthGroup::where('id', 'in', $childrenGroupIds)
|
||||||
->column('id,name');
|
->column('id,name');
|
||||||
$authGroupList = AuthGroupAccess::where('group_id', 'in', $childrenGroupIds)
|
$authGroupList = AuthGroupAccess::where('group_id', 'in', $childrenGroupIds)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue