improve: 分类刷新

This commit is contained in:
From-wh 2023-04-28 12:13:41 +08:00
parent faac707928
commit 03e0efb360

View File

@ -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;
}