diff --git a/src/platforms/web/runtime/directives/show.js b/src/platforms/web/runtime/directives/show.js index 703aa5b6afe..17fb5dec20d 100644 --- a/src/platforms/web/runtime/directives/show.js +++ b/src/platforms/web/runtime/directives/show.js @@ -27,7 +27,7 @@ export default { update (el: any, { value, oldValue }: VNodeDirective, vnode: VNodeWithData) { /* istanbul ignore if */ - if (value === oldValue) return + if (!value === !oldValue) return vnode = locateNode(vnode) const transition = vnode.data && vnode.data.transition if (transition) {