摘要: 在使用 uni-app 开发项目时,会遇到需要在 onLaunch 中请求接口返回结果,并且此结果在项目各个页面的 onLoad 中都有可能使用到的需求,比如微信小程序在 onLaunch 中进行登录后取得 openid 并获得 token,项目各页面需要带上该 token 请求其他接口。 阅读全文
posted @ 2022-05-23 18:09 江阳小道 阅读(1198) 评论(1) 推荐(1)