- 博客(1)
- 收藏
- 关注
原创 HBuilder报错“Uncaught TypeError: Cannot read property ‘width‘ of undefined“
alert(box1.currentStyle.width)输出时提示报错, 显示"Uncaught TypeError: Cannot read property 'width' of undefined", 原因是因为currentStyle.width只能在IE中使用,其他浏览器不兼容 用IE浏览器打开就行。
2022-03-28 15:08:55
1217
1
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人