fix: 修复bug
This commit is contained in:
@@ -48,11 +48,11 @@ const schema = [
|
||||
componentProps: {
|
||||
api: async () => {
|
||||
const res = await personList({ pageSize: 1000000000, pageNum: 1 });
|
||||
return res.rows.map((item: any) => ({
|
||||
label: item.userName,
|
||||
value: item.id,
|
||||
}));
|
||||
return res;
|
||||
},
|
||||
resultField: 'rows',
|
||||
labelField: 'userName',
|
||||
valueField: 'id',
|
||||
},
|
||||
},
|
||||
{
|
||||
|
Reference in New Issue
Block a user