소스 검색

人脸识别优化

DESKTOP-B78GIPM\admin 2 년 전
부모
커밋
aeec961583
1개의 변경된 파일5개의 추가작업 그리고 3개의 파일을 삭제
  1. 5 3
      pages/face/index.vue

+ 5 - 3
pages/face/index.vue

@@ -308,16 +308,18 @@
 							this.type = 2
 							this.name = res.data[0].name
 							this.getBasics()
+							return
 						}else{
 							// this.toAdd(res.data[0].name)
 							console.log('w')
 							this.type = 3
+							return
 						}
-					}else{
-						console.log('w')
-						this.type = 3
 					}
 					
+					console.log('w')
+					this.type = 3
+					
 				})
 
 			},