[更新]
This commit is contained in:
@@ -126,9 +126,8 @@ Page({
|
||||
*/
|
||||
loginGo(e) {
|
||||
let username = e.currentTarget.dataset.name
|
||||
const wechatUserId = wx.getStorageSync("wechatUser")
|
||||
|
||||
wx.$api.enroll.tel(wechatUserId, username).then(res=>{
|
||||
wx.$api.enroll.tel(this.data.wechatUserId, username).then(res=>{
|
||||
app.globalData.token = res.data.token
|
||||
app.globalData.isUser = true
|
||||
|
||||
|
||||
Reference in New Issue
Block a user