mirror of
https://github.com/infiniflow/ragflow.git
synced 2025-12-21 21:36:42 +08:00
### What problem does this PR solve? Feat: Supports page rank score for different knowledge bases. #3794 ### Type of change - [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
@ -2,7 +2,7 @@ import { Form, FormInstance, Input, InputRef, Typography } from 'antd';
|
||||
import React, { useContext, useEffect, useRef, useState } from 'react';
|
||||
|
||||
const EditableContext = React.createContext<FormInstance<any> | null>(null);
|
||||
const { Paragraph, Text } = Typography;
|
||||
const { Text } = Typography;
|
||||
|
||||
interface EditableRowProps {
|
||||
index: number;
|
||||
@ -95,9 +95,7 @@ export const EditableCell: React.FC<EditableCellProps> = ({
|
||||
// style={{ paddingRight: 24 }}
|
||||
onClick={toggleEdit}
|
||||
>
|
||||
<Text ellipsis={{ tooltip: children }} style={{ width: 70 }}>
|
||||
{children}
|
||||
</Text>
|
||||
<Text>{children}</Text>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user