Skip to content

Commit

Permalink
fix: transition can not wrok on frist
Browse files Browse the repository at this point in the history
  • Loading branch information
wuls committed Nov 21, 2020
1 parent e4d57e8 commit c26a365
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion examples/versions.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"1.4.13":"1.4","2.0.11":"2.0","2.1.0":"2.1","2.2.2":"2.2","2.3.9":"2.3","2.4.11":"2.4","2.5.4":"2.5","2.6.3":"2.6","2.7.2":"2.7","2.8.2":"2.8","2.9.2":"2.9","2.10.1":"2.10","2.11.1":"2.11","2.12.0":"2.12","0.0.26":"2.13"}
{"1.4.13":"1.4","2.0.11":"2.0","2.1.0":"2.1","2.2.2":"2.2","2.3.9":"2.3","2.4.11":"2.4","2.5.4":"2.5","2.6.3":"2.6","2.7.2":"2.7","2.8.2":"2.8","2.9.2":"2.9","2.10.1":"2.10","2.11.1":"2.11","2.12.0":"2.12","0.0.26":"2.13"}
4 changes: 2 additions & 2 deletions packages/tag/Tag.vue
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@ export default {
return props.disableTransitions ? (
tagEl
) : (
<Transition name="el-zoom-in-center">
{state.show ? tagEl : ''}
<Transition appear name="el-zoom-in-center">
{state.show === true ? tagEl : ''}
</Transition>
)
}
Expand Down

0 comments on commit c26a365

Please sign in to comment.