vue中 在 mounted钩子中 重置高度, position:absolute;
this.initHeight = this.$refs.body.offsetHeight
console.log(this.initHeight)
let that = this
window.onresize = function () {
document.body.style.height = that.initHeight + 'px'
that.$refs.body.style.height = that.initHeight + 'px'
}