- 博客(2)
- 资源 (1)
- 收藏
- 关注
原创 登录
// onLoad: function() { // var that = this; // var userInfo = wx.getStorageSync(userInfo) //从存储中获取用户信息,如果没有用户信息,重新授权,如果有就不用重新授权 // if (userInfo){ // that.setData({ // isHide...
2019-05-26 00:06:47
90
原创 小程序登录
app.js const api = require('./config/config.js'); App({ // 小程序启动生命周期 onLaunch: function () { let that = this; // 检查登录状态 that.checkLoginStatus(); }, // 检查本地 storage 中是否有登录态标识 checkLoginStat...
2019-05-14 16:01:00
201
1
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人