Feat(页面):监听页面打开次数和页面停留时长接口对接
This commit is contained in:
@@ -15,12 +15,12 @@ export const pageListenMixins = {
|
||||
this.pageToWatchShowCount(this.pageKeyId)
|
||||
},
|
||||
onHide() {
|
||||
this.clearPageTimerFn()
|
||||
this.pageToHideHandle()
|
||||
},
|
||||
methods: {
|
||||
pageToWatchShowCount,
|
||||
pageToWatchShowTimer,
|
||||
clearPageTimerFn() {
|
||||
pageToHideHandle() {
|
||||
const visitTime = TimeDifference(this.pageViewDateTime, getCurrDateTime())
|
||||
if (visitTime > 0) {
|
||||
this.pageToWatchShowTimer(this.pageKeyId, {
|
||||
|
||||
Reference in New Issue
Block a user