From-wh 2 лет назад
Родитель
Сommit
03e0efb360
1 измененных файлов с 2 добавлено и 3 удалено
  1. 2 3
      template/uni-app/pages/goods_cate/goods_cate1.vue

+ 2 - 3
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;
 	}