Skip to content

Commit

Permalink
fix: Tag type error
Browse files Browse the repository at this point in the history
  • Loading branch information
tangjinzhou committed Jun 8, 2021
1 parent 5d8f3fd commit 7e1301a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions components/tag/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ export type TagProps = HTMLAttributes & Partial<ExtractPropTypes<typeof tagProps

const Tag = defineComponent({
name: 'ATag',
props: tagProps,
emits: ['update:visible', 'close'],
setup(props: TagProps, { slots, emit, attrs }) {
const { getPrefixCls } = inject('configProvider', defaultConfigProvider);
Expand Down Expand Up @@ -137,8 +138,6 @@ const Tag = defineComponent({
},
});

Tag.props = tagProps;

Tag.CheckableTag = CheckableTag;

Tag.install = function(app: App) {
Expand Down

0 comments on commit 7e1301a

Please sign in to comment.