jiangping
2024-07-29 d9a89d83c2048a964f16ca179feb2b7f21b9d33a
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} );
            }
          })