vue中router跳转

返回上一页

  this.$router.go(-1)  

跳到指定页

 this.$router.push('/')

 

posted @ 2019-11-25 20:08  lipu1993  阅读(123)  评论(0编辑  收藏  举报