Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
jindadaZzz authored Aug 16, 2017
1 parent 8791c89 commit a3c06d1
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,18 +25,18 @@ return http.get('url', param, header);

全局配置

> #### prefix
#### prefix
请求 url 前缀

> #### headers
#### headers

配置请求头

> #### cookies
#### cookies

是否携带cookies

> #### filter
#### filter

过滤函数,发生在请求发出之前,可以对url, headers,fetch option进行更改,类型为 Promise function。

Expand All @@ -57,7 +57,7 @@ return http.get('url', param, header);
})
});
```
> #### callback
#### callback

回调数据函数,对请求成功获取到的数据进行预处理

Expand Down

0 comments on commit a3c06d1

Please sign in to comment.