orgSelect
本 Demo 演示用法
props
| 属性 | 描述 | 类型 | 必填 | 默认值 |
|---|---|---|---|---|
| value | 值可使用整个Opp对象或id作为值 | Org | Org['id'] | ❌ | - |
| disabled | 禁用 | boolean | ❌ | - |
| orgId | 根据orgId过滤pathHasPrefix | string | ❌ | - |
| appId | appId授权的组织列表 | string | ❌ | - |
| kind | 类型 | OrgKind | ✅ | - |
| where | 查询条件 | OrgWhereInput | ❌ | - |
| suffix | 禁用时替换search的显示位置 | ReactNode | ❌ | - |
| inputProps | 参考 | InputProps | ❌ | - |
| modalProps | 参考 | ModalProps | ❌ | - |
| proTableProps | 参考 | ProTableProps | ❌ | - |
| dataSource | 外部数据源提供应用列表配合value是id的时候初始化数据 | Org[] | ❌ | - |
| changeValue | 会改变onChange的第一个参数的值 | keyof Org | ❌ | - |
| onChange | changeValue=id时value的值为id,默认value是Org | (value?:any,original?:App)=>void | ❌ | - |