Article From:https://segmentfault.com/q/1010000009202099
Question:

vue After entering the home page, the mobile terminal project enters the sub page and returns directly to the blank.

Has anyone ever met a similar situation, please? How to solve

What I described before is not specific enough.
The project address is: wx.helpyoulove.com needs to enter from WeChat, bug will appear on Apple mobile phone.
And then go to the home page:

Slide down to the bottom of the course, click Enter the course, and then press the return button of Wechat. When you press the return button, there will be a blank situation.
Picture description

Answer 0:

Hello, I remember the scroll bar position and go back to this position when I return. Another way is to solve the problem by using better-scroll to fix the external height of the web page.
If there is a need to add qq:961774108

Answer 1:

WeChat needs to return two times or click close to return home page window.history.back (-2).

Answer 2:

This return blank should have nothing to do with browsers, or how do you get the following picture links?
It should be data loading or logic problems. The upper part is loaded exceptionally.

Answer 3:

<!–<meta http-equiv=”pragma” content=”no-cache”>
<meta http-equiv=”cache-control” content=”no-cache”>
<meta http-equiv=”expires” content=”0″>–>Annotate these tags, browsers’ caching

Answer 4:

I also had the same problem, changed to overflow-y:auto; don’t use the scroll bar that the browser brings.
The large outer box added:
height: 100%;
overflow-y: auto;
-webkit-overflow-scrolling: touch; /It slid smoothly under IOS/

Answer 5:

You try:
this.$nextTick(function(){
window.scrollTo(0, 1);
window.scrollTo(0, 0);
});

Answer 6:

What can you say in detail, what’s the blank situation? What is the picture at the bottom of the page?

Answer 7:

Did the landlord solve it? I got the problem, too

Answer 8:

Encountered the same problem, the landlord did not solve, ask for advice.

Answer 9:

With the same problem, the landlord solved the problem

Answer 10:

Have you solved it? Can you paste the solution out of the question of consent?

Similar Posts:

Leave a Reply

Your email address will not be published. Required fields are marked *