2 回答


termnt
TA貢獻(xiàn)1條經(jīng)驗(yàn) 獲得超0個(gè)贊
const that = this;
??? that.screenWidth =????? document.body.clientHeight - 80 + "px";
??? window.onresize = () => {
????? that.screenWidth = document.body.clientHeight - 80 + "px";
??? };
添加回答
舉報(bào)
0/150
提交
取消