axios
axios core源码
axios 核心源码 🔗 v1.3.4 lib/core/Axios.js Class Axios 🔗constructor构造函数 🔗 1 2 3 4 5 6 7 8 9 10 11 class Axios { constructor(instanceConfig) { this.defaults = instanceConfig; this.interceptors = { request: new InterceptorManager(), response: new InterceptorManager() }; } // .... } axios在构造函数
阅读全文
2100 字