返回主页面
<input type="button" name="Submit" @click="goHome" class="reback">
methods:{
goHome:function (){
this.$router.push({path: '/'})
}
}
返回上一页
<input type="button" name="Submit" onclick="javascript:history.back(-1);" value="返回上一页" class="reback">