1, the route switch, obviously this. $route. Push ('/other ') jumps to the other page, but the address bar has changed. An inexplicable string appears
Cause: The original project uses MUI, jquery. The label for the page jump after changing to Vue is still a tag, but href= "#sqw". So inexplicable sometimes appear sqw page;
Modified to href= "javascript:void (0)", can not be clicked;
2, a page, a plurality of modules, just control display hidden, no use of Routing switch page, why the address bar or change;
Cause: Or the old reason, because the click Switch Control Hidden button is still a tag, href= "#". Cause the Address bar to change, so or modified to href= "javascript:void (0)", can not be clicked;
Summary, jump page or with v-if (v-show) control display hidden, it is best not to use a tag, but with the framework, you need to make a tag can not click;