Commit 26b13f65 authored by 杨成林's avatar 杨成林

Merge branch 'ycl/fix' into 'test'

fix

See merge request !335
parents f0df3672 320ad937
...@@ -51,9 +51,7 @@ class PictorialUpdateOrCreate(APIView): ...@@ -51,9 +51,7 @@ class PictorialUpdateOrCreate(APIView):
pictorial_user_ids = json.loads(request.POST.get('pictorial_user_ids', '[]')) pictorial_user_ids = json.loads(request.POST.get('pictorial_user_ids', '[]'))
collection_tag_ids = json.loads(request.POST.get('collection_tag_ids', '[]')) collection_tag_ids = json.loads(request.POST.get('collection_tag_ids', '[]'))
pictorial_activity_id = request.POST.get('pictorial_activity_id') pictorial_activity_id = request.POST.get('pictorial_activity_id')
tab_config = request.POST.get("tab_config") tab_config = request.POST.get("tab_config", "[]")
if tab_config:
tab_config = []
data = { data = {
'name': request.POST.get('name', ''), 'name': request.POST.get('name', ''),
'description': request.POST.get('description', ''), 'description': request.POST.get('description', ''),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment