mirror of
https://git.mirrors.martin98.com/https://github.com/infiniflow/ragflow.git
synced 2025-08-15 01:36:11 +08:00
### What problem does this PR solve? Fix: Chunk problem tag content cannot be displayed completely. #5076 ### Type of change - [x] Bug Fix (non-breaking change which fixes an issue)
This commit is contained in:
parent
375e727f9a
commit
3356de55ed
@ -1,6 +1,6 @@
|
||||
import { PlusOutlined } from '@ant-design/icons';
|
||||
import type { InputRef } from 'antd';
|
||||
import { Input, Tag, theme } from 'antd';
|
||||
import { Input, Tag, theme, Tooltip } from 'antd';
|
||||
import { TweenOneGroup } from 'rc-tween-one';
|
||||
import React, { useEffect, useRef, useState } from 'react';
|
||||
|
||||
@ -50,17 +50,19 @@ const EditTag = ({ value = [], onChange }: EditTagsProps) => {
|
||||
|
||||
const forMap = (tag: string) => {
|
||||
return (
|
||||
<Tag
|
||||
key={tag}
|
||||
className={styles.tag}
|
||||
closable
|
||||
onClose={(e) => {
|
||||
e.preventDefault();
|
||||
handleClose(tag);
|
||||
}}
|
||||
>
|
||||
{tag}
|
||||
</Tag>
|
||||
<Tooltip title={tag}>
|
||||
<Tag
|
||||
key={tag}
|
||||
className={styles.tag}
|
||||
closable
|
||||
onClose={(e) => {
|
||||
e.preventDefault();
|
||||
handleClose(tag);
|
||||
}}
|
||||
>
|
||||
{tag}
|
||||
</Tag>
|
||||
</Tooltip>
|
||||
);
|
||||
};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user