We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 516b2e5 commit 9c6a9fbCopy full SHA for 9c6a9fb
components/tag/index.tsx
@@ -48,7 +48,7 @@ const Tag = defineComponent({
48
// Warning for deprecated usage
49
if (process.env.NODE_ENV !== 'production') {
50
warning(
51
- !('visible' in props),
+ props.visible === undefined,
52
'Tag',
53
'`visible` is deprecated, please use `<Tag v-show="visible" />` instead.',
54
);
0 commit comments