8000 fix else fragment not destoryed on teardown (fix #2206) · ormazza/vue@0fc2e96 · GitHub
[go: up one dir, main page]

Skip to content

Commit 0fc2e96

Browse files
committed
fix else fragment not destoryed on teardown (fix vuejs#2206)
1 parent a2ab1f5 commit 0fc2e96

File tree

1 file changed

+3
-0
lines changed
  • src/directives/public

1 file changed

+3
-0
lines changed

src/directives/public/if.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,5 +69,8 @@ export default {
6969
if (this.frag) {
7070
this.frag.destroy()
7171
}
72+
if (this.elseFrag) {
73+
this.elseFrag.destroy()
74+
}
7275
}
7376
}

0 commit comments

Comments
 (0)
0