getRowStyle(params) { return { background-color: 'red !important'} }
当属性之间有连字符 (
background-color
backgroundColor
getRowStyle: (params) => { return { backgroundColor: 'red !important'} },
工作中的Plunkr