Explorar o código

人脸识别优化

DESKTOP-B78GIPM\admin %!s(int64=2) %!d(string=hai) anos
pai
achega
aeec961583
Modificáronse 1 ficheiros con 5 adicións e 3 borrados
  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
+					
 				})
 
 			},