@@ -39,6 +39,7 @@ export const wxRequest = (url,data) => {
app.globalData.userInfo.headImg= ''
app.globalData.userInfo.userName = ''
app.globalData.userInfo.phoneNumber = ''
+ app.globalData.selectedInex = 2
wx.reLaunch({
url: '/pages/my/my',
})
@@ -78,6 +78,7 @@ Page({
* 调用login接口,判断是否需要绑定手机号和头像昵称
*/
onLoad(options) {
this.userLogin()
},
// 通过 code 获取 token