mounted() {
const that = this;
window.onresize = function temp() {
that.clientHeight = `${document.documentElement.clientHeight}`;
console.log(that.clientHeight)
};
},
原文地址:https://www.cnblogs.com/zhuwu/p/8366367.html
时间: 2024-10-09 22:21:53
mounted() {
const that = this;
window.onresize = function temp() {
that.clientHeight = `${document.documentElement.clientHeight}`;
console.log(that.clientHeight)
};
},
原文地址:https://www.cnblogs.com/zhuwu/p/8366367.html