first
This commit is contained in:
17
src/components/table/defaultAttribute.ts
Normal file
17
src/components/table/defaultAttribute.ts
Normal file
@@ -0,0 +1,17 @@
|
||||
import { VxeTableProps } from 'vxe-table'
|
||||
|
||||
export const defaultAttribute: VxeTableProps = {
|
||||
align: 'center',
|
||||
headerCellClassName: 'table-header-cell',
|
||||
border: true,
|
||||
stripe: true,
|
||||
size: 'small',
|
||||
columnConfig: { resizable: true },
|
||||
rowConfig: { isCurrent: true, isHover: true,keyField: 'id' },
|
||||
scrollX: { scrollToLeftOnChange: true },
|
||||
scrollY: { scrollToTopOnChange: true, enabled: true },
|
||||
treeConfig: {
|
||||
reserve: true
|
||||
},
|
||||
showOverflow:true
|
||||
}
|
||||
Reference in New Issue
Block a user