When developing a front-end project with uni-app, you will encounter the need to request the interface to return the result in onLaunch, and this result may be used in the onLoad of each page of the project. For example, the WeChat applet is obtained after logging in in onLaunch openid and get the token, each page of the project needs to bring the token to request other interfaces
uni-app
2021-11-07
1 likes
0 comments
4136 views