| | |
| | | tagClick(e) { |
| | | const code = e.currentTarget.dataset.code |
| | | const paramIndex = e.currentTarget.dataset.index |
| | | const { secondCateList, tagCodes, activeParam, activeIndex } = this.data |
| | | const index = tagCodes.indexOf(code) |
| | | if(index === -1){ |
| | | const { secondCateList, tagCodes, activeParam, activeIndex } = this.data |
| | | if( secondCateList[activeIndex].tempParamIndex==null || secondCateList[activeIndex].tempParamIndex != paramIndex){ |
| | | // 同param里code重复 |
| | | // if (activeParam && activeParam.length > 0) { |
| | | // activeParam.forEach(item => { |