mirror of https://github.com/vuejs/core.git
Merge branch 'edison/feat/vaporTransition' into edison/testVapor
This commit is contained in:
commit
e31d4330ce
|
@ -74,6 +74,9 @@ export const VaporTransition: FunctionalVaporComponent = /*@__PURE__*/ decorate(
|
||||||
const resolvedAttrs = extend({}, attrs)
|
const resolvedAttrs = extend({}, attrs)
|
||||||
const child = findTransitionBlock(children)
|
const child = findTransitionBlock(children)
|
||||||
if (child) {
|
if (child) {
|
||||||
|
// mark single root
|
||||||
|
;(child as any).$root = true
|
||||||
|
|
||||||
applyFallthroughProps(child, resolvedAttrs)
|
applyFallthroughProps(child, resolvedAttrs)
|
||||||
// ensure fallthrough attrs are not happened again in
|
// ensure fallthrough attrs are not happened again in
|
||||||
// applyTransitionHooks
|
// applyTransitionHooks
|
||||||
|
|
Loading…
Reference in New Issue