会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
simple-love
Figure out what you like. Try to become the best in the world of it.
首页
新随笔
订阅
管理
2019年12月13日
wepy全局拦截器
摘要: 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)
My GitHub