diff --git a/src/api/httpAjax.js b/src/api/httpAjax.js index b4941afd..59b36c61 100644 --- a/src/api/httpAjax.js +++ b/src/api/httpAjax.js @@ -102,7 +102,7 @@ const get = function (baseURL, url) { baseURL, url: url, method: 'get', - headers: {'Content-Type': 'application/json;charset=utf-8'} + headers: {'Content-Type': 'application/json'} }) } @@ -120,7 +120,7 @@ const post = function (baseURL, url, postData) { url: url, method: 'post', data: postData, - headers: {'Content-Type': 'application/json;charset=utf-8'} + headers: {'Content-Type': 'application/json'} }) } //post请求