验证码添加图形验证
This commit is contained in:
@@ -67,16 +67,19 @@
|
||||
that.nextFlag=0
|
||||
}
|
||||
},
|
||||
sendVercodeAgain(){
|
||||
async sendVercodeAgain(){
|
||||
var that = this;
|
||||
that.sendAgainFlag=1
|
||||
await that.authToken();
|
||||
setTimeout(() => {
|
||||
uni.request({
|
||||
url: that.serverUrl+'/user/authCode',
|
||||
method:'POST',
|
||||
data: {
|
||||
phone:that.phoneNumTrue,
|
||||
devCode:that.cid(),
|
||||
type:2
|
||||
type:2,
|
||||
authToken: that.authTokenId
|
||||
},
|
||||
header: {
|
||||
'content-type': 'application/x-www-form-urlencoded'
|
||||
@@ -122,6 +125,7 @@
|
||||
that.second=60;
|
||||
that.sendAgainFlag=0
|
||||
},61000)
|
||||
}, 500);
|
||||
},
|
||||
reset(){
|
||||
this.vercode='';
|
||||
|
||||
Reference in New Issue
Block a user