mirror of
https://github.com/nocobase/nocobase
synced 2024-11-15 10:46:54 +00:00
fix: set to null, not undefined
This commit is contained in:
parent
090394145a
commit
ad4eabd569
@ -55,7 +55,7 @@ function DrawerSelectComponent(props) {
|
|||||||
onChange(data.value);
|
onChange(data.value);
|
||||||
setSelectedRowKeys([data.value]);
|
setSelectedRowKeys([data.value]);
|
||||||
} else {
|
} else {
|
||||||
onChange(data);
|
onChange(null);
|
||||||
setSelectedRowKeys([]);
|
setSelectedRowKeys([]);
|
||||||
}
|
}
|
||||||
}}
|
}}
|
||||||
|
Loading…
Reference in New Issue
Block a user