This commit is contained in:
zhangmanman
2021-07-14 10:08:28 +08:00
parent ba6b09db50
commit bc38362878
36 changed files with 481 additions and 7 deletions

View File

@@ -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