从路由/user跳转到/home,有几种方式?

1.router-link
    2.this.$router.push() (函数里面调用)
    3.this.$router.replace() (用法同上,push)
    4.this.$router.go(n) ()

猜你喜欢

转载自www.cnblogs.com/edczjw-Edison/p/12421501.html