|
|
@@ -20,6 +20,7 @@ export default {
|
|
|
el.style.display = value ? '' : 'none'
|
|
|
},
|
|
|
update (el: HTMLElement, { value, oldValue }: VNodeDirective, vnode: VNodeWithData) {
|
|
|
+ /* istanbul ignore if */
|
|
|
if (value === oldValue) return
|
|
|
vnode = locateNode(vnode)
|
|
|
const transition = vnode.data && vnode.data.transition
|