VUE 获取窗口改变时的大小
mounted() {
const that = this;
window.onresize = function temp() {
that.clientHeight = `${document.documentElement.clientHeight}`;
console.log(that.clientHeight)
};
},