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

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

 

posted @ 2020-03-05 17:39  edczjw  阅读(379)  评论(0)    收藏  举报