From 77950e48c76f4a3b29d01831d43039caba29888a Mon Sep 17 00:00:00 2001
From: wwf <1971391498@qq.com>
Date: 星期二, 18 十一月 2025 14:12:42 +0800
Subject: [PATCH] 修改
---
app/components/workflow/nodes/document-extractor/panel.tsx | 7 +++----
1 files changed, 3 insertions(+), 4 deletions(-)
diff --git a/app/components/workflow/nodes/document-extractor/panel.tsx b/app/components/workflow/nodes/document-extractor/panel.tsx
index 5ed1425..597f528 100644
--- a/app/components/workflow/nodes/document-extractor/panel.tsx
+++ b/app/components/workflow/nodes/document-extractor/panel.tsx
@@ -61,10 +61,9 @@
return (
<div className='mt-2'>
- <div className='space-y-4 px-4 pb-4'>
+ <div className='px-4 pb-4 space-y-4'>
<Field
title={t(`${i18nPrefix}.inputVar`)}
- required
>
<>
<VarReferencePicker
@@ -76,7 +75,7 @@
filterVar={filterVar}
typePlaceHolder='File | Array[File]'
/>
- <div className='body-xs-regular mt-1 py-0.5 text-text-tertiary'>
+ <div className='mt-1 py-0.5 text-text-tertiary body-xs-regular'>
{t(`${i18nPrefix}.supportFileTypes`, { types: supportTypesShowNames })}
<a className='text-text-accent' href={link} target='_blank'>{t(`${i18nPrefix}.learnMore`)}</a>
</div>
@@ -107,7 +106,7 @@
required: true,
}],
values: { files },
- onChange: keyValue => setFiles(keyValue.files),
+ onChange: keyValue => setFiles((keyValue as any).files),
},
]}
runningStatus={runningStatus}
--
Gitblit v1.8.0