wechat_jiaxuan/components/disProduct/index.js
@@ -22,7 +22,7 @@ pageSize: 10, total: 0, query: '', sortType: 'NORMAL', sortType: '', catalogCode: "" }, attached() { @@ -66,7 +66,6 @@ }) }, bindblur() { console.log('失去焦点'); this.setData({ pageNum: 1,datalist: [],total: 0}) this.getList() }, @@ -94,6 +93,10 @@ }) } }, scrolltoupper() { this.setData({ pageNum: 1,datalist: [],total: 0}) this.getList() }, cateClick(e) { const catalogCode = e.currentTarget.dataset.code this.setData({ catalogCode, tagCodes: [] })