1.vue通过路由跳转实现重定向
this.$router.replace({ path: '/redirect' + view.fullPath });
2.通过路由跳转到制定的路径
this.$router.push(latestView.fullPath)
3.通过路由跳转到根目录
this.$router.push('/');
this.$router.replace({ path: '/redirect' + view.fullPath });
this.$router.push(latestView.fullPath)
3.通过路由跳转到根目录
this.$router.push('/');