Skip to content

Commit

Permalink
fix(TagInput): onClose parameter(Tencent#2941)
Browse files Browse the repository at this point in the history
  • Loading branch information
topazur committed Dec 1, 2023
1 parent e506d32 commit 431a3e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tag-input/tag-input.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ export default defineComponent({
const displayNode = renderTNodeJSX(this, 'valueDisplay', {
params: {
value: this.tagValue,
onClose: (index: number, item: any) => this.onClose({ index, item }),
onClose: (index: number, item: any) => this.onClose({ index }),
},
});
// 左侧文本
Expand Down

0 comments on commit 431a3e7

Please sign in to comment.