摘要: class MidWare{ constructor(){ this.cache = []; } use(fn){ this.cache.push(fn); } start(){ var middles = this.cache; function dispatch(index){ if(index 阅读全文
posted @ 2019-03-20 16:17 abc1234_abc 阅读(192) 评论(0) 推荐(0) 编辑