Skip to content

Commit 7f25f73

Browse files
committed
remove no longer necessary code
1 parent d111f3f commit 7f25f73

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/platforms/web/runtime/components/transition.js

-6
Original file line numberDiff line numberDiff line change
@@ -126,12 +126,6 @@ export default {
126126
const oldRawChild = this._vnode
127127
const oldChild: any = getRealChild(oldRawChild)
128128

129-
// mark v-show
130-
// so that the transition module can hand over the control to the directive
131-
if (child.data.directives && child.data.directives.some(d => d.name === 'show')) {
132-
child.data.show = true
133-
}
134-
135129
if (oldChild && oldChild.data && oldChild.key !== key) {
136130
// replace old child transition data with fresh one
137131
// important for dynamic transitions!

0 commit comments

Comments
 (0)