@castianta/select-condition

条件选择器

Usage no npm install needed!

<script type="module">
  import castiantaSelectCondition from 'https://cdn.skypack.dev/@castianta/select-condition';
</script>

README

条件选择器

@castianta/select-condition

条件选择器

API

参数名 说明 必填 类型 默认值 备注
select 下拉条件 SelectProps - 见下
condition 搜索条件 SelectProps - 条件 value 须跟下拉数据字段匹配
pagination 分页设置 PaginationProps - -
card 外层面板 CardProps - actions 参数为 null 时取消分页

SelectProps

参数名 说明 必填 类型 默认值 备注
data 下拉条数据 object[] [] {label:'',value:'',key:''}
(...SelectProps) and Select SelectProps - -