|
|
|
|
|
|
|
|
import { useTranslate } from '@/hooks/commonHooks'; |
|
|
import { useTranslate } from '@/hooks/commonHooks'; |
|
|
import { CloseOutlined } from '@ant-design/icons'; |
|
|
import { CloseOutlined } from '@ant-design/icons'; |
|
|
import { Button, Card, Form, Input, Select, Typography } from 'antd'; |
|
|
|
|
|
|
|
|
import { Button, Card, Form, Input, Select } from 'antd'; |
|
|
import { useUpdateNodeInternals } from 'reactflow'; |
|
|
import { useUpdateNodeInternals } from 'reactflow'; |
|
|
import { Operator } from '../constant'; |
|
|
import { Operator } from '../constant'; |
|
|
import { |
|
|
import { |
|
|
|
|
|
|
|
|
}} |
|
|
}} |
|
|
</Form.List> |
|
|
</Form.List> |
|
|
|
|
|
|
|
|
<Form.Item noStyle shouldUpdate> |
|
|
|
|
|
|
|
|
{/* <Form.Item noStyle shouldUpdate> |
|
|
{() => ( |
|
|
{() => ( |
|
|
<Typography> |
|
|
<Typography> |
|
|
<pre>{JSON.stringify(form.getFieldsValue(), null, 2)}</pre> |
|
|
<pre>{JSON.stringify(form.getFieldsValue(), null, 2)}</pre> |
|
|
</Typography> |
|
|
</Typography> |
|
|
)} |
|
|
)} |
|
|
</Form.Item> |
|
|
|
|
|
|
|
|
</Form.Item> */} |
|
|
</> |
|
|
</> |
|
|
); |
|
|
); |
|
|
}; |
|
|
}; |