mirror of
https://github.com/labring/FastGPT.git
synced 2025-07-23 05:12:39 +00:00
fix: multirow selector default value (#3358)
* fix: multirow selector default value * fix
This commit is contained in:
@@ -104,7 +104,7 @@ export const MultipleRowSelect = ({
|
||||
);
|
||||
|
||||
const onOpenSelect = useCallback(() => {
|
||||
setCloneValue(value);
|
||||
setCloneValue(Array.isArray(value) ? value : []);
|
||||
onOpen();
|
||||
}, [value, onOpen]);
|
||||
|
||||
|
Reference in New Issue
Block a user