Browse Source

commit -m 提交

zhengjinyi 4 years ago
parent
commit
d3d7ef654e
1 changed files with 4 additions and 4 deletions
  1. 4 4
      pages/tabBar/index/index.vue

+ 4 - 4
pages/tabBar/index/index.vue

@@ -101,7 +101,8 @@
 			}
 		},
 		onLoad() {
-			console.log(this.$Static)
+			this.modallayer = false
+			this.InitAuthorize()
 		},
 		computed: {
 			...mapState(['hasLogin','userInfo','identity','isActivity'])
@@ -146,7 +147,7 @@
 			GetHomeProductList(){//初始化首页商品数据
 				this.ProductService.QueryProductList(
 					{
-						pageNum:this.pageNum,
+						pageNum:1,
 						pageSize:this.pageSize,
 					}
 				)
@@ -262,8 +263,7 @@
 			}
 		},
 		onShow(){
-			this.modallayer = false
-			this.InitAuthorize()
+
 		}
 	}
 </script>