Authored by 陈峰

visible

@@ -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);