Skip to content

EnumSelect

通过code,使用自定义的逻辑,自动获取ElSelect的option数据,并自动更新

TdEnumSelect 除了支持 ElSelect 的所有属性外, 还支持以下属性:

属性类型默认值说明
fetch(code: string) => Promise<{label: string; value: string}[]>-自定义获取options数据的函数
codestring-传递给fetch函数的参数

基础使用

loading