Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangenming authored Jan 22, 2025
1 parent 2921685 commit ee2c933
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/runtime-dom/src/directives/vShow.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export const vShow: ObjectDirective<VShowElement> & { name?: 'show' } = {
}
},
updated(el, { value, oldValue }, { transition }) {
if (!value === !oldValue) return
if (value === oldValue) return
if (transition) {
if (value) {
transition.beforeEnter(el)
Expand Down

0 comments on commit ee2c933

Please sign in to comment.