liukangdong
2024-07-26 c7d7aff39b6566d05d3c0a080839c46bb2b6a8aa
wechat_staff/components/buoyClient/index.js
@@ -8,10 +8,10 @@
      type: String,
      value: '0'
    }
  },
  attached() {
    const enjoyList = wx.getStorageSync('enjoyList') || []
    this.setData({ enjoyList })
  },
  attached() {
      const enjoyList = wx.getStorageSync('enjoyList') || []
      this.setData({ enjoyList })
  },
  /**
   * 组件的初始数据
@@ -24,6 +24,10 @@
   * 组件的方法列表
   */
  methods: {
    freshData() {
      const enjoyList = wx.getStorageSync('enjoyList') || []
      this.setData({ enjoyList })
  },
    jumpPage(e) {
      const urls = [ '/pages/kefu/fond', '/pages/store/staff' ]
      const i = e.currentTarget.dataset.i
@@ -34,8 +38,7 @@
          wx.navigateTo({
            url: '/pages/webView/index',
            success: function(res) {
              // 通过eventChannel向被打开页面传送数据
              console.log(link)
              // 通过eventChannel向被打开页面传送数据
              res.eventChannel.emit('data',{link:link} );
            }
          })