提交 7a355ff4 编写于 作者: A Alfan Nur Fauzan

fix cannot send post method

上级 604e8dd8
......@@ -32,7 +32,7 @@ Axios.prototype.request = function request(config) {
}, arguments[1]);
}
config = utils.merge(defaults, this.defaults, { method: 'get' }, config);
config = utils.merge(defaults, {method: 'get'}, this.defaults, config);
config.method = config.method.toLowerCase();
// Hook up interceptors middleware
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册