二手车交易,用户离开记录浏览量
This commit is contained in:
@ -145,7 +145,7 @@ export default {
|
||||
let state = document.visibilityState
|
||||
if (state == 'hidden') { // 用户离开了
|
||||
console.log("用户离开了")
|
||||
this.getDuration()
|
||||
await this.getDuration()
|
||||
}
|
||||
});
|
||||
},
|
||||
|
@ -89,7 +89,7 @@ export default {
|
||||
let state = document.visibilityState
|
||||
if (state == 'hidden') { // 用户离开了
|
||||
console.log("用户离开了")
|
||||
this.getDuration()
|
||||
await this.getDuration()
|
||||
}
|
||||
});
|
||||
},
|
||||
|
Reference in New Issue
Block a user