mirror of
https://github.com/tenrok/axios.git
synced 2026-06-20 20:00:40 +03:00
If this place is false, it will report an error, so you should delete the useless code. (#2458)
This commit is contained in:
@@ -37,7 +37,7 @@ module.exports = function dispatchRequest(config) {
|
|||||||
config.headers = utils.merge(
|
config.headers = utils.merge(
|
||||||
config.headers.common || {},
|
config.headers.common || {},
|
||||||
config.headers[config.method] || {},
|
config.headers[config.method] || {},
|
||||||
config.headers || {}
|
config.headers
|
||||||
);
|
);
|
||||||
|
|
||||||
utils.forEach(
|
utils.forEach(
|
||||||
|
|||||||
Reference in New Issue
Block a user