关于background-color和backgroundColor写法

因为js中不允许写-,js中没有-属性名,所以用驼峰式命名

猜你喜欢

转载自blog.csdn.net/x1037490413/article/details/109033207