import { VxeTableProps } from 'vxe-table'

export const defaultAttribute: VxeTableProps = {
    align: 'center',
    headerCellClassName: 'table-header-cell',
    border: true,
    stripe: true,
    size: 'small',
    columnConfig: { resizable: true, useKey: true },
    rowConfig: { isCurrent: true, isHover: true,  },
    scrollX: { scrollToLeftOnChange: true },
    scrollY: { enabled: false },
    // 注意：全局不要默认开启 treeConfig，会与 stripe 冲突；树表在页面自行配置
    customConfig: { enabled: true, allowFixed: true, storage: false, showFooter: false, immediate: true ,mode:'default'},
    showOverflow: 'tooltip',
    showHeaderOverflow: false
}
