Commit 25b5a2c2 by 李伟康

commit 质检埋点

1 parent 6d0d26a7
......@@ -19,8 +19,8 @@ export default {
beforeDestroy () {
window.removeEventListener('click', this.getTrackData)
this.timerFlag = false
clearTimeout(this.this.track_set_timer)
this.this.track_set_timer = null
clearTimeout(this.track_set_timer)
this.track_set_timer = null
},
mounted () {
window.addEventListener('click', this.getTrackData)
......
......@@ -496,10 +496,11 @@ export default {
},
radioReport (e) {
console.log(e)
if (e > -1) this.setReportTrackData(0, {
let eventCode = {
1: 'hit',
0: 'miss'
}[e], JSON.stringify({
}[e]
if (eventCode) this.setReportTrackData(0, eventCode, JSON.stringify({
batchId: this.detailObj.id
}))
}
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!