摘要: wepy有支持全局拦截器,但是请求需要使用wepy.request().then(); 在app.wpy文件中配置以下内容,与data同级 constructor(){ super(); this.use('requestfix'); this.use('promisify'); //拦截reque 阅读全文
posted @ 2019-12-13 10:29 simple-love 阅读(684) 评论(0) 推荐(0)