版权声明:未经同意,不得随意转载转载 https://blog.csdn.net/lucky541788/article/details/84388462
通过 replace 达到清除历史记录的目的
<router-link
to="/home"
replace
>
<h1>content</h1>
</router-link>
通过 replace 达到清除历史记录的目的
<router-link
to="/home"
replace
>
<h1>content</h1>
</router-link>