设置表格默认属性

This commit is contained in:
仲么了
2024-01-02 14:33:55 +08:00
parent 43ca358cb8
commit cd98dc3fa3
3 changed files with 76 additions and 78 deletions

View File

@@ -0,0 +1,11 @@
export const defaultAttribute = {
align: 'center',
class: 'ba-data-table w100',
headerCellClassName: 'table-header-cell',
border: true,
stripe: true,
size: 'small',
columnConfig: { resizable: true },
rowConfig: { isCurrent: true, isHover: true },
scrollX: { scrollToLeftOnChange: true },
}