liukangdong
2024-07-29 86fc8bbb09df7bbeb50fa714ff8bb4aea85ffef5
wechat_jiaxuan/components/disRealpic/index.js
@@ -112,6 +112,10 @@
      if(item.openType == 'link'){
        wx.navigateTo({
          url: '/pages/webView/index?link=' + item.openContent,
          success: function(res) {
            // 通过eventChannel向被打开页面传送数据
            res.eventChannel.emit('acceptDataFromOpenerPage', { link: item.openContent})
          }
        })
      }
      if(item.openType == 'page'){
@@ -151,9 +155,10 @@
      const { cateList } = this.data
      cateList.forEach(item => {
        item.paramIndex = -1
        item.paramName = item.paramName || ''
        item.paramName = ''
      })
      this.setData({ tagCodes: [],activeParam: [],cateList,activeIndex: -1 })
      this.setData({ tagCodes: [],datalist:[],pageNum:1, activeParam: [],cateList,activeIndex: -1 })
      this.getList()
    },
    bindblur() {
      this.setData({ pageNum: 1,dataList: [],total: 0})