From d75d21c1a14f61b7b5b86434fab2b70ab2a849df Mon Sep 17 00:00:00 2001 From: Evan You Date: Mon, 3 Jun 2019 19:59:15 +0800 Subject: [PATCH] chore: comments --- packages/runtime-core/src/componentSlots.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/runtime-core/src/componentSlots.ts b/packages/runtime-core/src/componentSlots.ts index bdc206d2c..32f71e7b2 100644 --- a/packages/runtime-core/src/componentSlots.ts +++ b/packages/runtime-core/src/componentSlots.ts @@ -25,8 +25,8 @@ export function resolveSlots( ) { let slots: Slots | void if (instance.vnode.shapeFlag & SLOTS_CHILDREN) { - // pre-normalized slots object generated by compiler if ((children as any)._normalized) { + // pre-normalized slots object generated by compiler slots = children as Slots } else { slots = {}