refactor(components): [badge] remove unnecessary condition (#8073)

This commit is contained in:
류한경 2022-06-04 16:30:31 +09:00 committed by GitHub
parent c62730071e
commit ec498d38b5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3,7 +3,7 @@
<slot />
<transition :name="`${ns.namespace.value}-zoom-in-center`">
<sup
v-show="!hidden && (content || content === '0' || isDot)"
v-show="!hidden && (content || isDot)"
:class="[
ns.e('content'),
ns.em('content', type),