|
|
@@ -72,7 +72,7 @@
|
|
|
randstr: res.randstr,
|
|
|
phone: that.phone
|
|
|
}).then(() => {
|
|
|
- this.$toast({message: '验证码获取成功'})
|
|
|
+ that.$toast({message: '验证码获取成功'})
|
|
|
if (that.isiOS) {
|
|
|
window.webkit.messageHandlers.returnVerificationCode.postMessage(res.ret.toString());
|
|
|
}
|
|
|
@@ -80,7 +80,7 @@
|
|
|
window.hap.verificationCode(res.ret.toString());
|
|
|
}
|
|
|
}).catch(data => {
|
|
|
- this.$toast.fail({icon: 'close', message: data.errmsg})
|
|
|
+ that.$toast.fail({icon: 'close', message: data.errmsg})
|
|
|
if (that.isiOS) {
|
|
|
window.webkit.messageHandlers.returnVerificationCode.postMessage(res.ret.toString());
|
|
|
}
|