U 优化发布表单数据录入

pull/137/head
vapao 2020-06-12 12:02:56 +08:00
parent 257814a120
commit 05cc791ac8
1 changed files with 1 additions and 0 deletions

View File

@ -108,6 +108,7 @@ class DeployView(View):
).parse(request.body)
if error:
return json_response(error=error)
extend_form.dst_dir = extend_form.dst_dir.rstrip('/')
extend_form.filter_rule = json.dumps(extend_form.filter_rule)
extend_form.custom_envs = json.dumps(parse_envs(extend_form.custom_envs))
if form.id: