mirror of
https://git.mirrors.martin98.com/https://github.com/langgenius/dify.git
synced 2025-08-16 14:35:54 +08:00
fix: prevent http node overwrite on open (#4127)
This commit is contained in:
parent
13cd409575
commit
6563cb6ec6
@ -29,8 +29,8 @@ const useConfig = (id: string, payload: HttpNodeType) => {
|
||||
const isReady = defaultConfig && Object.keys(defaultConfig).length > 0
|
||||
if (isReady) {
|
||||
setInputs({
|
||||
...inputs,
|
||||
...defaultConfig,
|
||||
...inputs,
|
||||
})
|
||||
}
|
||||
// eslint-disable-next-line react-hooks/exhaustive-deps
|
||||
|
Loading…
x
Reference in New Issue
Block a user