mirror of
http://112.124.100.131/huang.ze/ebiz-dify-ai.git
synced 2025-12-11 20:06:54 +08:00
fix: prevent http node overwrite on open (#4127)
This commit is contained in:
@@ -29,8 +29,8 @@ const useConfig = (id: string, payload: HttpNodeType) => {
|
|||||||
const isReady = defaultConfig && Object.keys(defaultConfig).length > 0
|
const isReady = defaultConfig && Object.keys(defaultConfig).length > 0
|
||||||
if (isReady) {
|
if (isReady) {
|
||||||
setInputs({
|
setInputs({
|
||||||
...inputs,
|
|
||||||
...defaultConfig,
|
...defaultConfig,
|
||||||
|
...inputs,
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
// eslint-disable-next-line react-hooks/exhaustive-deps
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
||||||
|
|||||||
Reference in New Issue
Block a user