Showing
1 changed file
with
3 additions
and
1 deletions
@@ -34,7 +34,7 @@ document.addEventListener('visibilitychange', function() { | @@ -34,7 +34,7 @@ document.addEventListener('visibilitychange', function() { | ||
34 | store.commit(PAGE_INIT_VISIBLE, {visible: false}); | 34 | store.commit(PAGE_INIT_VISIBLE, {visible: false}); |
35 | setTimeout(() => { | 35 | setTimeout(() => { |
36 | store.commit(PAGE_INIT_VISIBLE, {visible: true}); | 36 | store.commit(PAGE_INIT_VISIBLE, {visible: true}); |
37 | - }, 500); | 37 | + }, 3000); |
38 | } | 38 | } |
39 | }); | 39 | }); |
40 | 40 | ||
@@ -49,6 +49,8 @@ router.onReady(() => { | @@ -49,6 +49,8 @@ router.onReady(() => { | ||
49 | .then(() => { | 49 | .then(() => { |
50 | if (!yoho.isAndroid || store.state.yoho.visible) { | 50 | if (!yoho.isAndroid || store.state.yoho.visible) { |
51 | return next(); | 51 | return next(); |
52 | + } else { | ||
53 | + history.pushState({}, '', from.fullPath); | ||
52 | } | 54 | } |
53 | }) | 55 | }) |
54 | .catch(next); | 56 | .catch(next); |
-
Please register or login to post a comment