vue记录页面滚动位置 在离开页面的时候记录页面的位置 beforeRouteLeave (to, from, next) { sessionStorage.homeaskPositon = this.$refs.my_scroller && this.$refs.my_scroller.getPosition