mirror of
https://github.com/labring/FastGPT.git
synced 2025-12-25 20:02:47 +00:00
fix: dataset params default error (#2210)
Some checks are pending
Build FastGPT images in Personal warehouse / build-fastgpt-images (push) Waiting to run
Some checks are pending
Build FastGPT images in Personal warehouse / build-fastgpt-images (push) Waiting to run
This commit is contained in:
parent
cc6fa4207a
commit
c129874d59
|
|
@ -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]
|
||||
}));
|
||||
}
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in New Issue