//ie下不能用forEach
//ie下修改样式用setAttribute
documnet.getElementById('XXX').setAttribute('style','');
//不能用
documnet.getElementById('XXX').style = '';
[ie]兼容性写法
猜你喜欢
转载自blog.csdn.net/weixin_39717076/article/details/84584130
今日推荐
周排行