mirror of
https://gitee.com/baidu/amis.git
synced 2024-12-02 03:48:13 +08:00
table2文本对齐与列保持一致
This commit is contained in:
parent
d9bd618f18
commit
834a1a7435
@ -905,6 +905,11 @@ export default class Table2 extends React.Component<Table2Props, object> {
|
||||
titleSchema = {type: 'plain'};
|
||||
}
|
||||
|
||||
if (column.align) {
|
||||
titleSchema.align = column.align;
|
||||
titleSchema.className = 'flex-1';
|
||||
}
|
||||
|
||||
const titleRender = (children: any) => {
|
||||
const content = this.renderCellSchema(titleSchema, titleProps);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user