From 530f30e3e89358ab86bd326d75cf83cd1a2ca486 Mon Sep 17 00:00:00 2001 From: Archer <545436317@qq.com> Date: Fri, 18 Jul 2025 00:30:24 +0800 Subject: [PATCH] Var render (#5248) * add resize to json editor * fix: ts --- projects/app/src/components/core/app/formRender/index.tsx | 2 +- .../chat/ChatContainer/ChatBox/components/VariablePopover.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/projects/app/src/components/core/app/formRender/index.tsx b/projects/app/src/components/core/app/formRender/index.tsx index eb751e467..00a2dc126 100644 --- a/projects/app/src/components/core/app/formRender/index.tsx +++ b/projects/app/src/components/core/app/formRender/index.tsx @@ -128,7 +128,7 @@ const InputRender = (props: InputRenderProps) => { } if (inputType === InputTypeEnum.JSONEditor) { - return ; + return ; } if (inputType === InputTypeEnum.selectLLMModel) { diff --git a/projects/app/src/components/core/chat/ChatContainer/ChatBox/components/VariablePopover.tsx b/projects/app/src/components/core/chat/ChatContainer/ChatBox/components/VariablePopover.tsx index 6d5a35e6f..93b443f15 100644 --- a/projects/app/src/components/core/chat/ChatContainer/ChatBox/components/VariablePopover.tsx +++ b/projects/app/src/components/core/chat/ChatContainer/ChatBox/components/VariablePopover.tsx @@ -54,7 +54,7 @@ const VariablePopover = ({ } > {({ onClose }) => ( - + {hasExternalVariable && (