]> git.ipfire.org Git - thirdparty/vuejs/core.git/commit
fix(compiler-ssr): fix wrong attrs fallthrough on non-single-root v-if branches
authorEvan You <yyx990803@gmail.com>
Thu, 19 May 2022 03:21:17 +0000 (11:21 +0800)
committerEvan You <yyx990803@gmail.com>
Thu, 19 May 2022 03:21:17 +0000 (11:21 +0800)
commit516bc548fce295f6d564c7fb371c8067ead7cd71
tree77cea52c6959904e8e643ef3277e1c9468b67e2e
parente8ceac7a11a46ed46e2fec11957f4c0aa801ed95
fix(compiler-ssr): fix wrong attrs fallthrough on non-single-root v-if branches

fix #5140
packages/compiler-core/src/transform.ts
packages/compiler-ssr/__tests__/ssrComponent.spec.ts
packages/compiler-ssr/__tests__/ssrFallthroughAttrs.spec.ts [new file with mode: 0644]
packages/compiler-ssr/src/transforms/ssrInjectFallthroughAttrs.ts