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
+					
 				})
 
 			},