From 03e0efb3608661ace1dca218765e4f3203bc010c Mon Sep 17 00:00:00 2001 From: From-wh Date: Fri, 28 Apr 2023 12:13:41 +0800 Subject: [PATCH] =?UTF-8?q?improve:=20=E5=88=86=E7=B1=BB=E5=88=B7=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- template/uni-app/pages/goods_cate/goods_cate1.vue | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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; }