feat: enhance start node object value check (#30732)

This commit is contained in:
wangxiaolei
2026-01-09 16:13:17 +08:00
committed by GitHub
parent ae0a26f5b6
commit 0711dd4159
14 changed files with 121 additions and 55 deletions

View File

@ -195,7 +195,7 @@ const RunOnce: FC<IRunOnceProps> = ({
noWrapper
className="bg h-[80px] overflow-y-auto rounded-[10px] bg-components-input-bg-normal p-1"
placeholder={
<div className="whitespace-pre">{item.json_schema}</div>
<div className="whitespace-pre">{typeof item.json_schema === 'string' ? item.json_schema : JSON.stringify(item.json_schema || '', null, 2)}</div>
}
/>
)}