fix: tag warning

pull/6316/head
tangjinzhou 2023-02-27 16:06:26 +08:00
parent 516b2e5a0c
commit 9c6a9fb47c
1 changed files with 1 additions and 1 deletions

View File

@ -48,7 +48,7 @@ const Tag = defineComponent({
// Warning for deprecated usage
if (process.env.NODE_ENV !== 'production') {
warning(
!('visible' in props),
props.visible === undefined,
'Tag',
'`visible` is deprecated, please use `<Tag v-show="visible" />` instead.',
);