设置replace 属性的话,当点击时,会调用router.replace() 而不是router.push(),导航后不会留下history 记录。 <router-link :to="{ path: '/abc'}" replace></router- ...
確定! 回上一頁