Skip to content
  • Projects
  • Groups
  • Snippets
  • Help

saas_plus / dj-car-boutique-work-wechat

  • This project
    • Loading...
  • Sign in
Go to a project
  • Project
  • Repository
  • Issues 0
  • Merge Requests 1
  • Pipelines
  • Wiki
  • Settings
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Files
  • Commits
  • Branches
  • Tags
  • Contributors
  • Graph
  • Compare
  • Charts
Switch branch/tag
  • dj-car-boutique-work-wechat
  • packageEquity
  • pages
  • receptionDetail
  • components
  • watchScrollMixin.js
  • 李伟康's avatar
    commit 质检埋点 · 05a2c55b
    李伟康 committed Nov 14, 2024
    05a2c55b
watchScrollMixin.js 289 Bytes
RawBlameHistoryPermalink
1 2 3 4 5 6 7 8 9 10 11 12 13 14
module.exports = Behavior({
  methods: {
    watchScrollTrack: wx.$util.throttle(function(e)  {
      const {
        batchId
      } = this.data, {
        eventCode
      } = e.currentTarget.dataset
      wx.$track.setTrackData(1, eventCode, {
        batchId
      })
    }, 1e3)
  }
})