Commit 757a48d0 authored by linxin's avatar linxin

add

parent bd2db406
......@@ -61,14 +61,17 @@ export default {
},
beforeRouteEnter (to, from, next) {
next(vm => {
vm.getAccessToken()
setTimeout(() => {
vm.downNum = true
}, 1000)
if (from.name !== 'PrivacyPolicy') {
vm.getAccessToken()
}
if (!window.localStorage.getItem('isReadPolicy')) {
setTimeout(() => {
vm.downNum = true
}, 1000)
}
})
},
created () {
},
mounted () {
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