After vue jumps with this.$router.push, the ios page becomes blank.

the ios page becomes blank after vue jumps with this.$router.push

clipboard.png

clipboard.png\

clipboard.png

clipboard.png


clipboard.png
this problem exists only on ios

Apr.07,2021

this problem seems to be because there is a problem with ios's hash mode, which needs to be rewritten.


I have encountered a similar problem before, because I reload after each route jump. See if this is the problem


.

Blank failed because there was an error in the program when the component was rendering. The only way to troubleshoot is to use the debug tool. It is also recommended that non-distributions try to use up the full version of vue.js instead of vue.min.js, because the latter can hide error messages.

in addition, the screenshot seems to be a problem with the compilation of await/async = > ES5/6, so you can try to adjust the compilation configuration.


html, body {
width: 100%;
height: 100%;
margin: 0;
padding: 0;
position: relative;
}
.container {
width: 100%;
height: 100%;
background:-sharpfff;
overflow: scroll;
-webkit-overflow-scrolling: touch;
position: absolute;
left:0;
top:0;
}

Menu