修复了验证码bug
This commit is contained in:
@ -33,6 +33,7 @@ Page({
|
||||
icon: 'success'
|
||||
})
|
||||
wx.removeStorageSync('token')
|
||||
wx.removeStorageSync('role')
|
||||
setTimeout(() => {
|
||||
wx.reLaunch({
|
||||
url: '/pages/welcome/homePage/homePage',
|
||||
|
@ -67,7 +67,8 @@ Page({
|
||||
Authorization: wx.getStorageSync('token')
|
||||
},
|
||||
data: {
|
||||
templateString: phone
|
||||
phoneNumber: phone,
|
||||
userRole: wx.getStorageSync('role')
|
||||
},
|
||||
success: res => {
|
||||
if (res.data.code === 1) {
|
||||
|
Reference in New Issue
Block a user