This commit is contained in:
zhangmanman
2021-08-13 17:34:53 +08:00
parent 8f7cc986c2
commit 01eedb0b82
11 changed files with 38 additions and 35 deletions

View File

@@ -19,11 +19,11 @@
* 生命周期函数--监听页面加载
*/
onLoad (options) {
if(getApp().globalData.scene === 1155 && options.type === "shareLogin"){
wx.switchTab({
url: '/pages/index/index',
})
}
// if(getApp().globalData.scene === 1155 && options.type === "shareLogin"){
// wx.switchTab({
// url: '/pages/index/index',
// })
// }
// 获取用户信息和二维码
wx.$api.user.myshare('mini','','pages/index/index?type=shareLogin').then(res=>{