javascript - White screen phenomenon when using vue2.x
typecho
typecho 2017-06-26 10:55:08
0
1
811

I don’t know if you have encountered it before, but use the vue framework to create a list page and a details page.
1 Scroll up the list page
2 Click to enter the details
3 Then return directly without doing anything.
You will see a white screen on the list page (actually the background-color of the body). The fixed elements will be visible, but the other elements on the list page will not be visible. Just pull up and they will appear again.

ps: If you don’t pull up the list page, and then go to the details and return, it will not appear || #

typecho
typecho

Following the voice in heart.

reply all(1)
淡淡烟草味
  1. Make sure there are no errors in your console

  2. Make sure your resources are loaded

  3. Make sure your loading resources are not placed inside nextTick.

  4. Make sure that your variables are objects that have been processed, that is to say, if they do not exist, you need to use .set to copy them, and if you need to use push for arrays, you can let vue know.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template