document.querySelector('.main-table').setAttribute('height', '300px');如上,我要设置某元素的高度,但typescript提示Object is possibly 'null' ...
確定! 回上一頁