lis8.0-vue3/src/types/SelectTable.d.ts

29 lines
560 B
TypeScript
Raw Normal View History

2025-10-30 18:15:17 +08:00
export interface Emits {
(e: "update:data", val: any): void;
(e: "getDataValue", val: any): void;
}
export interface Props {
data: any;
fields: Field[];
tableData?: object[];
label?: string;
value?: string;
objKey?: string;
isHighlight?: boolean;
size?: string;
placeholder?: string;
border?: boolean;
width?: string | number;
disabled?: boolean;
dictType?: string;
clearable?: boolean;
}
export interface Field {
prop: string;
label: string;
width?: number;
enablePinyinSearch?: boolean; //是否参与拼音搜索
}