We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b48a3a6 commit b3cbe18Copy full SHA for b3cbe18
packages/components/tag-input/hooks/useTagList.tsx
@@ -79,7 +79,7 @@ export function useTagList(props: TagInputProps) {
79
const tagContent = renderTNode('tag', { params: { value: item } });
80
return (
81
<Tag
82
- key={`${item}${index}`}
+ key={index}
83
size={size.value}
84
disabled={isDisabled.value}
85
onClose={(context: { e: MouseEvent }) => onClose({ e: context.e, index })}
packages/tdesign-vue-next/.changelog/pr-5868.md
@@ -0,0 +1,6 @@
1
+---
2
+pr_number: 5868
3
+contributor: novlan1
4
5
+
6
+- fix(`SelectInput`): 避免删除标签时闪烁 @novlan1 ([#5868](https://github.com/Tencent/tdesign-vue-next/pull/5868))
0 commit comments