feat(Tag): add show prop and fix transition

This commit is contained in:
chenjiahan
2020-07-25 16:12:12 +08:00
parent 73d538be05
commit 7317a1379b
4 changed files with 21 additions and 19 deletions
+2 -2
View File
@@ -43,8 +43,8 @@
<demo-block :title="t('closeable')">
<van-tag
v-if="show.primary"
size="medium"
:show="show.primary"
closeable
type="primary"
@close="close('primary')"
@@ -52,8 +52,8 @@
{{ t('tag') }}
</van-tag>
<van-tag
v-if="show.success"
size="medium"
:show="show.success"
closeable
type="success"
@close="close('success')"