mirror of
https://git.mirrors.martin98.com/https://github.com/langgenius/dify.git
synced 2025-08-13 18:36:04 +08:00
Fix: json update in conversation variable (#18483)
This commit is contained in:
parent
7b6523e54d
commit
3136eb8e4b
@ -123,7 +123,7 @@ const ChatVariableModal = ({
|
||||
case ChatVarType.Number:
|
||||
return value || 0
|
||||
case ChatVarType.Object:
|
||||
return formatValueFromObject(objectValue)
|
||||
return editInJSON ? value : formatValueFromObject(objectValue)
|
||||
case ChatVarType.ArrayString:
|
||||
case ChatVarType.ArrayNumber:
|
||||
case ChatVarType.ArrayObject:
|
||||
|
Loading…
x
Reference in New Issue
Block a user