跳到主要内容

userSelect

本 Demo 演示用法

Props

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