mirror of https://gitee.com/karson/fastadmin.git
实现:藏状态的角色及其子角色在管理页面下正常显示
parent
5ff7c7bff8
commit
58f6077622
|
|
@ -282,7 +282,8 @@ class Auth extends \fast\Auth
|
|||
}
|
||||
}
|
||||
// 取出所有分组
|
||||
$groupList = \app\admin\model\AuthGroup::where(['status' => 'normal'])->select();
|
||||
// $groupList = \app\admin\model\AuthGroup::where(['status' => 'normal'])->select();
|
||||
$groupList = \app\admin\model\AuthGroup::all();
|
||||
$objList = [];
|
||||
foreach ($groups as $k => $v) {
|
||||
if ($v['rules'] === '*') {
|
||||
|
|
|
|||
Loading…
Reference in New Issue