把-后的字母转换为大写,并删除-
例如:margin-top转换成marginTop
//content = '数据'
while(/-[a-z]/.test(content)){//正则数据是否包含'-'加任意字母,包含返回true
content = content.replace(/-[a-z]/,content.match(/-[a-z]/)[0].substring(1,2).toUpperCase())//替换指定字符,并匹配相应字符再截取特殊字符'-'保留字母并转换大写
}