element-ui表格,表头与内容对齐

设置align,header-align属性为center

Table-column Attributes

参数

说明

类型

可选值

默认值

align 对齐方式 String left/center/right left
header-align 表头对齐方式,若不设置该项,则使用表格的对齐方式 String left/center/right

猜你喜欢

转载自blog.csdn.net/cmax007/article/details/106479644