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
提交
取消