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