qymljy 1 rok temu
rodzic
commit
528914264d
1 zmienionych plików z 7 dodań i 7 usunięć
  1. 7 7
      pages/index/index/userCenter.vue

+ 7 - 7
pages/index/index/userCenter.vue

@@ -42,22 +42,22 @@ export default {
     data() {
         return {
             updatePage: true,
-			isWinning:true
+			      isWinning:true
         }
     },
     methods: {
         init(callBack) {
             callBack()
             this.updatePage = false;
-			this.queryAuth()
+			      this.queryAuth()
         },
         queryAuth(){
           let auth=uni.getStorageSync("authList")
-		  if (auth.工作台导航.中奖明细) {
-			  this.isWinning = true
-		  }else {
-			  this.isWinning = false
-		  }
+          if (auth.工作台导航.中奖明细) {
+            this.isWinning = true
+          }else {
+            this.isWinning = false
+          }
         }
     },