摘要: 问题描述 我们在用 uni-app 开发前端项目时,会遇到需要在 onLaunch 中请求接口返回结果,并且此结果在项目各个页面的 onLoad 中都有可能使用到的需求,比如微信小程序在 onLaunch 中进行登录后取得 openid 并获得 token,项目各页面需要带上该 token 请求其他 阅读全文
posted @ 2022-11-24 15:41 Mr.木易 阅读(369) 评论(0) 推荐(1) 编辑