Commit 3af62674 by 李伟康

提交代码

1 parent e49c1671
......@@ -307,6 +307,7 @@ export default {
})
},
created () {
let _this = this
const jsApiList = [
'getLocation',
......@@ -320,6 +321,9 @@ export default {
this.getActivityGroup()
})
})
window.addEventListener(this.IsIOS ? 'pagehide' : 'unload', e => {
window.localStorage.setItem('leave_time', new Date().format('yyyy-MM-dd hh:mm:ss'))
})
window.addEventListener('scroll', _this.debounce(() => {
_this.scrollY = window.scrollY
if (_this.progress) return
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!