this.$router.go(-1)就是返回上一页
this.$router.push(" /mango ")指定跳转到某个页面,类似在历史页面里面增加了新页面,可以返回上个历史页面。
this.$router.replace("/ mango") 替换页面内容 无法返回上个页面
this.$router.go(-1)就是返回上一页
this.$router.push(" /mango ")指定跳转到某个页面,类似在历史页面里面增加了新页面,可以返回上个历史页面。
this.$router.replace("/ mango") 替换页面内容 无法返回上个页面