@wocwin/t-ui-plus
Version:
Page level components developed based on Element Plus.
44 lines (43 loc) • 1.07 kB
TypeScript
export interface TSelectProps {
modelValue: string | number | Array<any> | Record<string, any> | undefined;
multiple?: boolean;
width?: string;
valueCustom?: string;
labelCustom?: string;
customLabel?: string;
optionSource?: Array<any>;
filterable?: boolean;
isShowPagination?: boolean;
paginationOption?: {
pageSize?: number;
currentPage?: number;
pagerCount?: number;
total?: number;
layout?: string;
bind?: Record<string, any>;
};
useVirtual?: boolean;
returnObject?: boolean;
/**
* 是否缓存选项
* @default true
* @type boolean
* version 1.5.1
*/
isCached?: boolean;
/**
* 是否开启回显不是第一页数据的label
* @default true
* @type boolean
* version 1.5.2
*/
isRadioEchoLabel?: boolean;
/**
* 单选时,回显非第一页数据的label
* @default ''
* @type string
* version 1.5.2
*/
radioSelectValLabel?: string;
selectAllTxt?: string;
}