Sfoglia il codice sorgente

人脸识别优化

DESKTOP-B78GIPM\admin 2 anni fa
parent
commit
aeec961583
1 ha cambiato i file con 5 aggiunte e 3 eliminazioni
  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
+					
 				})
 
 			},