import { VxeColumnPropTypes } from 'vxe-table'

declare global {
    namespace Model {
        interface TableColumn {
            field: string;
            label: string;
            className?: string;
            align?: string;
            width?: number;
            sortable?: boolean;
            show?: boolean;
            fixed?: VxeColumnPropTypes.Fixed;
            decimal?: number; // 保留小数点位数
            formatLabel?: () => string
            formatValue?: (value: any) => any
        }
    }
}