axios学习笔记defaults(浏览器端异步请求处理方式) 浏览器异步请求方法封装,主要使用XMLHttpRequest lib/adapters/xhr.js //入口 var utils = require('./../utils'); var settle = require('./../core/settle'); var buildURL = require('./../heapers/buildURL'); var buildFullPath = require('./../co…