''
liukangdong
2024-07-19 73c3507d82c06066d592d626ccd1a9a0961e0c5f
wechat_jiaxuan/pages/userinfo/mysub.js
@@ -5,7 +5,7 @@
   * 页面的初始数据
   */
  data: {
    activeTabs: '0',
    activeTabs: '1',
    dataList: [],
    total: 0,
@@ -20,16 +20,19 @@
    this.getList()
  },
  getList() {
    const { page,  capacity} = this.data
    const { page,  capacity, activeTabs} = this.data
    customerLogPage({
      model: {},page,capacity
      model: {
        type: activeTabs
      },page,capacity
    }).then(res => {
      this.setData({ dataList: res.data.records })
    })
  },
  tabsChange(e) {
    const activeTabs = e.currentTarget.dataset.val
    this.setData({ activeTabs })
    this.setData({ activeTabs, dataList: [], total: 0, page: 0,  })
    this.getList()
  },
  /**