Commit b7ed685b961b4db606fd652d824db04beb907620
1 parent
53f47fac
赤峰分支
Showing
1 changed file
with
1 additions
and
1 deletions
src/https.js
@@ -4,7 +4,7 @@ axios.defaults.timeout = 5000 | @@ -4,7 +4,7 @@ axios.defaults.timeout = 5000 | ||
4 | axios.defaults.baseURL = 'http://39.98.54.240:8090/' | 4 | axios.defaults.baseURL = 'http://39.98.54.240:8090/' |
5 | 5 | ||
6 | // post请求头 | 6 | // post请求头 |
7 | -axios.defaults.headers.post['Content-Type'] = 'application/x-www-form-urlencoded;charset=UTF-8'; | 7 | +axios.defaults.headers.post['Content-Type'] = 'application/x-www-form-urlencoded;charset=UTF-8' |
8 | 8 | ||
9 | // http request 拦截器 | 9 | // http request 拦截器 |
10 | axios.interceptors.request.use( | 10 | axios.interceptors.request.use( |