watchScrollTrackMixin.js 320 Bytes
import reportTrackFunMixin from './reportTrackFunMixin'
export default {
  mixins: [reportTrackFunMixin],
  methods: {
    watchScrollTrack: _.throttle(function (e, eventCode) {
      const {
        id
      } = this.detailObj
      this.setReportTrackData(1, eventCode, {
        batchId: id
      })
    }, 1e3)
  }
}