属性名有中横线要如何获取 // 属性名有中横线 var header :{ 'Content-Type' : 'application/json' } // 获取方法 var contentType = header['Content-Type'];