2 回答
termnt
TA贡献1条经验 获得超0个赞
const that = this;
that.screenWidth = document.body.clientHeight - 80 + "px";
window.onresize = () => {
that.screenWidth = document.body.clientHeight - 80 + "px";
};
添加回答
举报
0/150
提交
取消