wechat_jiaxuan/components/disProduct/index.js
@@ -61,10 +61,13 @@ }).then(res => { this.setData({ secondCateList: res.data || [], activeParam: [] }) }) }, bindblur() { console.log('失去焦点'); this.setData({ pageNum: 1,datalist: [],total: 0}) this.getList() }, getList() { @@ -160,7 +163,7 @@ item.paramIndex = -1 item.paramName = '' }) this.setData({ tagCodes: [],activeParam: [],cateList,activeIndex: -1 }) this.setData({ tagCodes: [],activeParam: [],secondCateList,activeIndex: -1 }) }, subParam() { this.setData({ activeParam: [] })