解决筛选bug 和已知的坐标问题

This commit is contained in:
lemon橪
2021-09-17 18:08:08 +08:00
parent fe0d888da0
commit dadce33d74
3 changed files with 22 additions and 7 deletions

View File

@@ -383,6 +383,12 @@ export default {
this.defaultKeyword = "请输入搜索商品";
}
},
sortPopup(val) {
if (val) {
this.selectedWay = { brand: [], categoryId: [], prop: [] };
console.log(this.selectedWay);
}
},
},
onReachBottom() {
@@ -486,11 +492,17 @@ export default {
this.goodsList = [];
this.loadData();
this.sortParams = this.params;
this.sortPopup = false;
},
// 重置
repick() {
this.sortParams = {
pageNumber: 1,
pageSize: 10,
};
this.sortPopup = false
this.initSortGoods();
this.minPrice = "";
this.maxPrice = "";
@@ -498,6 +510,7 @@ export default {
pageNumber: 1,
pageSize: 10,
};
this.goodsList = []
this.loadData();
},