change defaults.ts

pull/8/head
zjx0905 2020-08-24 18:30:26 +08:00
parent bafa1658ab
commit 960395156d
2 changed files with 5 additions and 3 deletions

2
.gitignore vendored
View File

@ -110,3 +110,5 @@ package
types
coverage/
yarn-error.log
lib
es

View File

@ -23,10 +23,10 @@ const defaults: AxiosRequestConfig = {
get: {},
head: {},
post: {
'Context-Type': 'application/x-www-form-urlencoded; charset=utf-8',
'Content-Type': 'application/x-www-form-urlencoded; charset=utf-8',
},
put: {
'Context-Type': 'application/x-www-form-urlencoded; charset=utf-8',
'Content-Type': 'application/x-www-form-urlencoded; charset=utf-8',
},
delete: {},
trace: {},