fix(transition): handle transition for v-if branches with comment

fix #5675
This commit is contained in:
Evan You
2022-04-14 18:06:52 +08:00
parent 767d212d20
commit 62eba63172
2 changed files with 20 additions and 9 deletions

View File

@@ -2039,7 +2039,7 @@ describe('e2e: Transition', () => {
template: `
<div id="container">
<transition>
<Comp class="test" v-if="toggle">
<Comp class="test" v-if="toggle">
<div>content</div>
</Comp>
</transition>