a tag has a paragraph anchor, that is, one click will jump to the specified paragraph of the current page. The problem is that after clicking the a tag, the route of the page will change. If the page is refreshed at this time, the page will be lost. Because the current route has been changed to a paragraph anchor bound by the a tag, rather than a formally registered route, is there any way to solve it?
sample code:
<template>
<aside>
<nav>
<a href="-sharpabc">abc</a>
</nav>
</aside>
<section id="abc">abc</section>
</template>