Fix: Resolve FlowSetting not reading Title from .ts files (#6469)

### What problem does this PR solve?

Fix: Resolve FlowSetting not reading Title from .ts files

### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)
This commit is contained in:
科幻大脑
2025-03-25 11:07:29 +08:00
committed by GitHub
parent 095fc84cf2
commit b2ec39c59d
3 changed files with 18 additions and 3 deletions

View File

@ -61,7 +61,7 @@ export const FlowSettingModal = ({
return (
<Modal
confirmLoading={loading}
title={'Agent Setting'}
title={t('agentSetting')}
open={visible}
onCancel={hideModal}
onOk={handleSubmit}
@ -77,7 +77,7 @@ export const FlowSettingModal = ({
>
<Form.Item
name="title"
label="Title"
label={t('title')}
rules={[{ required: true, message: 'Please input a title!' }]}
>
<Input />
@ -100,7 +100,7 @@ export const FlowSettingModal = ({
</button>
</Upload>
</Form.Item>
<Form.Item name="description" label="Description">
<Form.Item name="description" label={t('description')}>
<Input.TextArea rows={4} />
</Form.Item>