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