iview
iview copied to clipboard
[Feature Request]select组件建议增加多条件搜索功能
What problem does this feature solve?
比如远程搜索接口返回有三个字段,name、age、code,其中name为label,code为value,搜索需要根据name和age字段查询。 现在设置name为label,code为value,输入年龄,option的list数组里面有数据,但是页面下拉框里显示没有数据
What does the proposed API look like?
在组件上绑定一个属性,可以是字符串和数组,然后查询时可以根据里面的字段以及label查询和匹配option选项,没设置该属性时默认根据label查询