这里写自定义目录标题 页面跳转后回到顶部 页面跳转后回到顶部 window.scrollTo(0,0) this.$router.push({path: "/home", query: {id:id});