Skip to content
  • Projects
  • Groups
  • Snippets
  • Help

saas_plus / regional-assistant

  • This project
    • Loading...
  • Sign in
Go to a project
  • Project
  • Repository
  • Issues 0
  • Merge Requests 0
  • 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
  • regional-assistant
  • packageWorkspace
  • pages
  • receptionDetail
  • components
  • watchScrollMixin.js
  • zhangxw's avatar
    区域运营助手小程序 · 610399e6
    zhangxw committed Dec 18, 2025
    610399e6
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)
  }
})