wechat_staff/components/disCase/index.js
@@ -118,9 +118,10 @@ }, cancelParam() { const { cateList } = this.data console.log('cateList', cateList); cateList.forEach(item => { item.paramIndex = -1 item.paramName = '' item.paramName = item.paramName || '' }) this.setData({ tagCodes: [],activeParam: [],cateList,activeIndex: -1 }) }, @@ -130,7 +131,7 @@ }, subParam() { this.setData({ activeParam: [] }) this.setData({ pageNum: 1,dataList: [],total: 0}) this.setData({ pageNum: 1,activeIndex: -1,dataList: [],total: 0}) this.getList() }, changeShowParams(e){