提交 1ccd4161 编写于 作者: M Milo Mordaunt

Added defaults.timeout to default config.

上级 39c75a47
......@@ -9,6 +9,7 @@ var axios = module.exports = function (config) {
config = utils.merge({
method: 'get',
headers: {},
timeout: defaults.timeout,
transformRequest: defaults.transformRequest,
transformResponse: defaults.transformResponse
}, config);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册