mirror of https://github.com/jumpserver/jumpserver
fix(perms): 修复perms api UserPermissionMixin 中 kwargs 参数传递(未发现引出其他问题)
parent
28b92a0d80
commit
d6d85dff40
|
@ -21,7 +21,7 @@ class UserPermissionMixin:
|
|||
obj = None
|
||||
|
||||
def initial(self, *args, **kwargs):
|
||||
super().initial(*args, *kwargs)
|
||||
super().initial(*args, **kwargs)
|
||||
self.obj = self.get_obj()
|
||||
|
||||
def get_obj(self):
|
||||
|
|
Loading…
Reference in New Issue