obj.style.z-index的正确写法 今天发现obj.style.z-index在js里面报错,后来才知道在js里应该把含“-”的字符写成驼峰式,例如obj.style.z-index的正确写法应该是obj.style.zIndex 相关文章: 2022-12-23 2021-06-12 2022-02-12 2022-12-23 2022-12-23 2021-11-30 2021-08-07 2022-12-23