vue router replace
- replace :to="{path:'/path1/param'}" 类似引入iframe的效果
<div class="first_tabs" @click.capture="gotoNewsLists"> <router-link :to="{ path: '/newsInfo/0'}" replace class="first_tab_item pointer" :class="{ first_tab_item_active: selectItem === 0 }" @click="changeNewsLists(0)">
<i class="iconfont icon-yiliao"></i>
{{ $t('news.tab1') }}
</router-link>
</div>
以上是 vue router replace 的全部内容, 来源链接: utcz.com/z/380298.html