Procházet zdrojové kódy

style:按钮控制

zhanghui před 2 roky
rodič
revize
11a1f427fe
1 změnil soubory, kde provedl 1 přidání a 5 odebrání
  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()
 				})