diff --git a/template/uni-app/pages/goods_cate/goods_cate1.vue b/template/uni-app/pages/goods_cate/goods_cate1.vue index 3787ec6e6..1d4610f7e 100644 --- a/template/uni-app/pages/goods_cate/goods_cate1.vue +++ b/template/uni-app/pages/goods_cate/goods_cate1.vue @@ -124,11 +124,10 @@ let routes = getCurrentPages(); let curRoute = routes[routes.length - 1].route this.activeRouter = '/' + curRoute - this.getAllCategory(); + this.getAllCategory(1); }, watch: { isNew(newVal) { - this.getAllCategory(1); } }, @@ -346,7 +345,7 @@ overflow: hidden; padding: 0 14rpx; background-color: #fff; - position: relative; + position: relative; padding-bottom: 200rpx; }