mirror of
https://github.com/himool/HimoolERP.git
synced 2025-02-22 21:24:10 +08:00
fix: 角色管理
This commit is contained in:
parent
42bb5af691
commit
fc005f7b24
2 changed files with 1 additions and 1 deletions
|
@ -22,7 +22,7 @@ class PermissionGroupViewSet(BaseViewSet, ListModelMixin):
|
|||
queryset = PermissionGroup.objects.all()
|
||||
|
||||
def get_queryset(self):
|
||||
return super().get_queryset().prefetch_related('permissions')
|
||||
return self.queryset.prefetch_related('permissions').all()
|
||||
|
||||
|
||||
class SystemConfigViewSet(FunctionViewSet):
|
||||
|
|
0
logs/__init__.py
Normal file
0
logs/__init__.py
Normal file
Loading…
Reference in a new issue