Johnson

Results 10 comments of Johnson
trafficstars

@lin-xin 为什么要进行文件过滤呢?

@lin-xin ok,明白了,谢谢。没注意到路径是/*.html的。我刚用这个东西不久,平时都是单独定义任务的。

I want to know how you solve this question!

作者可能放弃维护了

真停止维护了?

第二个原型模式优化的内容,如果把新建对象放在用对象字面量重写原型对象之前,再调用原型上的方法就会报错。 ```js function Person(){} var person_1 = new Person(); Person.prototype = { constructor:Person, name:'Joe', getName : function(){ console.log(this.name); } } person_1.getName(); //error ```

Config inside interceptors has a different interface. If you explicitly specify the config type, use InternalAxiosRequestConfig instead of AxiosRequestConfig. AxiosRequestConfig is the external/raw config interface. axios.interceptors.request.use(async (config: InternalAxiosRequestConfig) => {...