Commit 8658675f authored by ibuler's avatar ibuler

[Bugfix] 重命名applications导致api请求content_type不对

parent be3f94d8
......@@ -195,7 +195,7 @@ function APIUpdateAttr(props) {
url: props.url,
type: props.method || "PATCH",
data: props.body,
contentType: props.content_type || "applications/json; charset=utf-8",
contentType: props.content_type || "application/json; charset=utf-8",
dataType: props.data_type || "json"
}).done(function(data, textStatue, jqXHR) {
toastr.success(success_message);
......
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