fix(compiler-core): handle template root and template v-if as stable fragments

This commit is contained in:
Evan You
2019-12-12 20:46:20 -05:00
parent f77ae132e5
commit 8ffd79c754
18 changed files with 106 additions and 60 deletions

View File

@@ -34,6 +34,6 @@ export default function render() {
createVNode(\\"img\\", { src: _imports_0 }),
createVNode(\\"img\\", { src: _imports_1 }),
createVNode(\\"img\\", { src: _imports_1 })
]))
], 64 /* STABLE_FRAGMENT */))
}"
`;

View File

@@ -44,6 +44,6 @@ export default function render() {
src: \\"./logo.png\\",
srcset: _hoisted_7
})
]))
], 64 /* STABLE_FRAGMENT */))
}"
`;