解决微信小程序app.js里onluanch里写路由跳转事件会出现page is not found的问题

将wx.switchTab或者其余跳转事件写在onlaunch的代码:web onLaunch: function() { // 读取登陆状态跳转 var that= this; wx.getStorage({ key: 'userLoginInfo', success: function (res) { if (res.data)
相关文章
相关标签/搜索