Skip to content

Commit 47a628f

Browse files
c121914yuCopilot
andauthored
Update projects/app/src/pageComponents/app/detail/WorkflowComponents/Flow/nodes/render/RenderInput/templates/CommonInputForm.tsx
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent f0653ec commit 47a628f

File tree

1 file changed

+1
-1
lines changed
  • projects/app/src/pageComponents/app/detail/WorkflowComponents/Flow/nodes/render/RenderInput/templates

1 file changed

+1
-1
lines changed

projects/app/src/pageComponents/app/detail/WorkflowComponents/Flow/nodes/render/RenderInput/templates/CommonInputForm.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ const CommonInputForm = ({ item, nodeId }: RenderInputProps) => {
8787

8888
const inputType = nodeInputTypeToInputType(item.renderTypeList);
8989
const value = useMemo(() => {
90-
// 移除异步的handleChange调用,避免状态冲突
90+
// Removed asynchronous handleChange invocation to prevent state conflicts.
9191
if (inputType === InputTypeEnum.selectLLMModel) {
9292
// 如果有默认值且当前值为undefined,使用默认值
9393
if (item.value === undefined && defaultModel) {

0 commit comments

Comments
 (0)