watchScrollTrackMixin.js 320 Bytes RawBlameHistoryPermalink 1 2 3 4 5 6 7 8 9 10 11 12 13 14 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) } }