[vxe-table] Set the difference between the height of the header and the row height

官网链接

设置表头样式的属性: header-cell-style

设置行高的属性: row-config"

区别: header-cell-style里面的属性必须满足键值对的格式,设置高必须加单位,不然就不生效

:header-cell-style="{
    
     
	'text-align': 'center', 
	'height': '32px',
	'background': 'red' 
}"

row-config里面就不讲究,直接写就行

:row-config="{
    
    
	isHover: true,
	height: 28
}"

Guess you like

Origin blog.csdn.net/bbt953/article/details/132711764