feat: translate graph of header #918 (#1428)

### What problem does this PR solve?

feat: translate graph of header #918
### Type of change


- [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
balibabu 2024-07-08 18:52:13 +08:00 committed by GitHub
parent 1eb1f7ad33
commit 59417016a8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 5 additions and 3 deletions

View File

@ -57,6 +57,7 @@ export default {
setting: '用戶設置',
logout: '登出',
fileManager: '文件管理',
flow: '圖',
},
knowledgeList: {
welcome: '歡迎回來',

View File

@ -57,6 +57,7 @@ export default {
setting: '用户设置',
logout: '登出',
fileManager: '文件管理',
flow: '图',
},
knowledgeList: {
welcome: '欢迎回来',

View File

@ -1,6 +1,6 @@
import { useTranslate } from '@/hooks/commonHooks';
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 { Operator } from '../constant';
import {
@ -95,13 +95,13 @@ const DynamicCategorize = ({ nodeId }: IProps) => {
}}
</Form.List>
<Form.Item noStyle shouldUpdate>
{/* <Form.Item noStyle shouldUpdate>
{() => (
<Typography>
<pre>{JSON.stringify(form.getFieldsValue(), null, 2)}</pre>
</Typography>
)}
</Form.Item>
</Form.Item> */}
</>
);
};