|
@@ -90,10 +90,6 @@
|
|
|
verifyFace(){
|
|
verifyFace(){
|
|
|
let that = this;
|
|
let that = this;
|
|
|
|
|
|
|
|
- if(this.requestStatus){
|
|
|
|
|
- return;
|
|
|
|
|
- }
|
|
|
|
|
- this.requestStatus=true
|
|
|
|
|
|
|
|
|
|
if(!this.selectIcon){
|
|
if(!this.selectIcon){
|
|
|
uni.$u.toast('请阅读并同意《人脸识别服务协议》')
|
|
uni.$u.toast('请阅读并同意《人脸识别服务协议》')
|
|
@@ -109,6 +105,12 @@
|
|
|
title: '人脸识别中'
|
|
title: '人脸识别中'
|
|
|
})
|
|
})
|
|
|
|
|
|
|
|
|
|
+ if(this.requestStatus){
|
|
|
|
|
+ return;
|
|
|
|
|
+ }
|
|
|
|
|
+ this.requestStatus=true
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
this.$api.verifyFace(that.reqParm).then((res)=>{
|
|
this.$api.verifyFace(that.reqParm).then((res)=>{
|
|
|
this.requestStatus=true
|
|
this.requestStatus=true
|
|
|
uni.hideLoading();
|
|
uni.hideLoading();
|