Commit 757a48d0 authored by linxin's avatar linxin

add

parent bd2db406
...@@ -61,14 +61,17 @@ export default { ...@@ -61,14 +61,17 @@ export default {
}, },
beforeRouteEnter (to, from, next) { beforeRouteEnter (to, from, next) {
next(vm => { next(vm => {
if (from.name !== 'PrivacyPolicy') {
vm.getAccessToken() vm.getAccessToken()
}
if (!window.localStorage.getItem('isReadPolicy')) {
setTimeout(() => { setTimeout(() => {
vm.downNum = true vm.downNum = true
}, 1000) }, 1000)
}
}) })
}, },
created () { created () {
}, },
mounted () { mounted () {
window.addEventListener('native.keyboardhide', function () { window.addEventListener('native.keyboardhide', function () {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment