소스 검색

style:按钮控制

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()
 				})