返回上一页 vue

1.返回上一页

this.$router.go(-1)

2.返回上一页的指定页面

this.$router.push({ path: '/dashboard' })
原文地址:https://www.cnblogs.com/pwindy/p/14846062.html