jiangping
2024-07-30 b022834cf81ea67a6f28d31cc057d494ac6dc8ed
wechat_staff/components/disCase/index.js
@@ -101,11 +101,10 @@
        return
      } 
      const code = e.currentTarget.dataset.code
      const paramIndex = e.currentTarget.dataset.index
      const paramIndex = e.currentTarget.dataset.index
      const { cateList, tagCodes, activeParam, activeIndex } = this.data
      const index = tagCodes.indexOf(code)
      if(index === -1){
      const index = tagCodes.indexOf(code)
      if( cateList[activeIndex].tempParamIndex==null ||     cateList[activeIndex].tempParamIndex != paramIndex){
        cateList[activeIndex].tempParamIndex = paramIndex
        cateList[activeIndex].tempParamName = activeParam[paramIndex].labelValueName
        cateList[activeIndex].tempParamCode = code