mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-08-31 15:11:27 +00:00
fix: 修复上传bug
This commit is contained in:
@@ -38,7 +38,7 @@ class SuggestionMixin:
|
||||
|
||||
class RenderToJsonMixin:
|
||||
@action(methods=[POST], detail=False, url_path='render-to-json')
|
||||
def render_to_json(self, request: Request):
|
||||
def render_to_json(self, request: Request, *args, **kwargs):
|
||||
data = {
|
||||
'title': (),
|
||||
'data': request.data,
|
||||
|
Reference in New Issue
Block a user