mirror of
https://git.mirrors.martin98.com/https://github.com/infiniflow/ragflow.git
synced 2025-05-29 09:38:13 +08:00
### What problem does this PR solve? feat: Remove Typography from SwitchForm #1739 ### Type of change - [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
parent
c739b68b29
commit
884fd83dc7
@ -1,5 +1,5 @@
|
||||
import { CloseOutlined } from '@ant-design/icons';
|
||||
import { Button, Card, Divider, Form, Input, Select, Typography } from 'antd';
|
||||
import { Button, Card, Divider, Form, Input, Select } from 'antd';
|
||||
import { useMemo } from 'react';
|
||||
import { useTranslation } from 'react-i18next';
|
||||
import {
|
||||
@ -181,14 +181,6 @@ const SwitchForm = ({ onValuesChange, node, form }: IOperatorForm) => {
|
||||
options={buildCategorizeToOptions(getSelectedConditionTos())}
|
||||
/>
|
||||
</Form.Item>
|
||||
|
||||
<Form.Item noStyle shouldUpdate>
|
||||
{() => (
|
||||
<Typography>
|
||||
<pre>{JSON.stringify(form?.getFieldsValue(), null, 2)}</pre>
|
||||
</Typography>
|
||||
)}
|
||||
</Form.Item>
|
||||
</Form>
|
||||
);
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user