优化商品筛选楼层装修判断

master
lemon橪 2021-11-04 10:53:52 +08:00
parent b1c518c3a8
commit 68bc1d6974
2 changed files with 5 additions and 1 deletions

View File

@ -501,6 +501,7 @@ export default {
this.sortParams = {
pageNumber: 1,
pageSize: 10,
categoryId:this.routerVal.category || ''
};
this.sortPopup = false;
this.initSortGoods();
@ -509,6 +510,9 @@ export default {
this.params = {
pageNumber: 1,
pageSize: 10,
categoryId:this.routerVal.category || '',
order: 'desc',
sort: 'releaseTime'
};
this.goodsList = [];
this.loadData();

View File

@ -20,7 +20,7 @@ export function modelNavigateTo(item) {
});
}
break;
case "stores":
case "shops":
uni.navigateTo({
url: `/pages/product/shopPage?id=${val.id}`,
});