index.js 143 Bytes EditWeb IDE 1 2 3 4 5 6 export default { beforeRouteEnter (to, from, next) { next(instance => instance.$router.replace(from.fullPath)) }, render: h => h() }