通过style配置了background,padding属性,但是都没有生效
nodes =[
{
name:'node',
attrs:{
class:'flag-txt',
style:'fontSize:14px;height:24px;line-height:24px;background:#fff;color:#fc545c;padding:8px;margin:4px'
},
children:[{
type:'text',
text:item.name
}]
}
]
