zhanghui пре 2 година
родитељ
комит
11a1f427fe
1 измењених фајлова са 1 додато и 5 уклоњено
  1. 1 5
      pages/index/index.vue

+ 1 - 5
pages/index/index.vue

@@ -585,10 +585,8 @@
 					this.currService = res.data.data
 					this.setButtomState(this.currService)
 					this.currService.avatar=this.currService.avatar.replace(/^http:/, "https:")
-
 				}).catch(err=>{
-					this.buttonState=[1,1,1,1]
-					console.log("出错了++++++++++++++++++",err)
+					console.log("出错了+++++++++++出错了+++++++",err)
 
 				})
 
@@ -620,8 +618,6 @@
 					if (this.userInfo.signIn){
 						this.buttonState=[0,1,1,1]
 						this.currServiceInfo()
-					}else {
-						this.buttonState=[1,1,1,1]
 					}
 					this.$forceUpdate()
 				})