jiangping
2024-07-29 7ddff44ca4923d21057f8d78e103064dd8d96557
wechat_staff/components/disProduct/index.js
@@ -120,9 +120,8 @@
    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 => {