fix(components): [tag] awrong disable-transitions condition (#8161)

This commit is contained in:
류한경 2022-06-08 10:23:02 +09:00 committed by GitHub
parent 5b233da008
commit 53ace00e11
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,6 +1,6 @@
<template>
<span
v-if="!disableTransitions"
v-if="disableTransitions"
:class="classes"
:style="{ backgroundColor: color }"
@click="handleClick"
@ -12,7 +12,7 @@
<Close />
</el-icon>
</span>
<transition v-else :name="`${ns.namespace.value}-zoom-in-center`">
<transition v-else :name="`${ns.namespace.value}-zoom-in-center`" appear>
<span
:class="classes"
:style="{ backgroundColor: color }"