wechat_jiaxuan/components/disCase/index.js
@@ -24,6 +24,7 @@ }, attached() { this.getCatelist() this.getList() }, methods: { getCatelist() { @@ -35,9 +36,6 @@ this.setData({ cateList: res.data }) setTimeout(() => { this.getList() }, 300) } }) }, @@ -104,7 +102,7 @@ const { cateList, tagCodes, activeParam, activeIndex } = this.data const index = tagCodes.indexOf(code) if (index === -1) { if (cateList[activeIndex].tempParamIndex==null || cateList[activeIndex].tempParamIndex != paramIndex) { // // 同param里code重复 // if (activeParam && activeParam.length > 0) { // activeParam.forEach(item => {