Ver código fonte

fix:人脸识别bug修护

zhanghui 2 anos atrás
pai
commit
fd93785adf
2 arquivos alterados com 3 adições e 3 exclusões
  1. 2 2
      myPages/serviceObjectFaceAuth/index.vue
  2. 1 1
      pages/login/login.vue

+ 2 - 2
myPages/serviceObjectFaceAuth/index.vue

@@ -112,7 +112,7 @@
 
 
         this.$api.verifyFace(that.reqParm).then((res)=>{
-          this.requestStatus=true
+          this.requestStatus=false
           uni.hideLoading();
           if(res.data.data.code == '500'){ //人脸不存在
             let serviceObject = {}
@@ -133,7 +133,7 @@
             })
           }
         }).catch((err) =>{
-          this.requestStatus=true
+          this.requestStatus=false
           uni.$u.toast('识别失败,请重新上传照片')
         });
 

+ 1 - 1
pages/login/login.vue

@@ -86,7 +86,7 @@
 	export default {
 		data() {
 			return {
-				choose:true,
+				choose:false,
 				show: false,
 				userInfo: {
 					username: 'uview-plus UI',