From a430284aa21e3ae1f0d5654e55b2ad2852519cc2 Mon Sep 17 00:00:00 2001 From: wwf <yearningwang@iqtogether.com> Date: 星期三, 04 六月 2025 15:17:49 +0800 Subject: [PATCH] 初始化 --- app/components/workflow/nodes/http/components/timeout/index.tsx | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/app/components/workflow/nodes/http/components/timeout/index.tsx b/app/components/workflow/nodes/http/components/timeout/index.tsx index b0fd3b2..f20a91d 100644 --- a/app/components/workflow/nodes/http/components/timeout/index.tsx +++ b/app/components/workflow/nodes/http/components/timeout/index.tsx @@ -27,15 +27,15 @@ }> = ({ title, description, placeholder, value, onChange, readOnly, min, max }) => { return ( <div className="space-y-1"> - <div className="flex h-[18px] items-center space-x-2"> - <span className="text-[13px] font-medium text-text-primary">{title}</span> - <span className="text-xs font-normal text-text-tertiary">{description}</span> + <div className="flex items-center h-[18px] space-x-2"> + <span className="text-[13px] font-medium text-gray-900">{title}</span> + <span className="text-xs font-normal text-gray-500">{description}</span> </div> <Input type='number' value={value} onChange={(e) => { - const value = Math.max(min, Math.min(max, Number.parseInt(e.target.value, 10))) + const value = Math.max(min, Math.min(max, parseInt(e.target.value, 10))) onChange(value) }} placeholder={placeholder} -- Gitblit v1.8.0