Commit a7388118 by zhaochengxiang

bug fix

parent 514892dc
......@@ -271,7 +271,7 @@ export const UsersItem = ({ loading, users, value, onChange }) => {
return (
<Select loading={loading} mode='multiple' allowClear
placeholder='请选择用户'
value={options?value?.map(item => item.id):[]}
value={(options??[]).length>0?value?.map(item => item.id):[]}
searchValue={searchValue}
onSearch={(val) => {
setSearchValue(val)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment