在 getAttribute 之前调用 removeAttribute 似乎也可以,但是我建议不要删除默认属性。 Source. 关于javascript - removeAttribute('style')在iOS中不起作用,如何解决 ...
確定! 回上一頁