Pārlūkot izejas kodu

人脸识别优化

DESKTOP-B78GIPM\admin 2 gadi atpakaļ
vecāks
revīzija
aeec961583
1 mainītis faili ar 5 papildinājumiem un 3 dzēšanām
  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
+					
 				})
 
 			},