mirror of
https://github.com/labring/FastGPT.git
synced 2025-07-23 21:13:50 +00:00
fix: dataset params default error (#2210)
This commit is contained in:
@@ -55,7 +55,7 @@ const SelectDatasetParam = ({ inputs = [], nodeId }: RenderInputProps) => {
|
||||
setData((state) => ({
|
||||
...state,
|
||||
// @ts-ignore
|
||||
[input.key]: input.value || state[input.key]
|
||||
[input.key]: input.value ?? state[input.key]
|
||||
}));
|
||||
}
|
||||
});
|
||||
|
Reference in New Issue
Block a user