Przeglądaj źródła

chore: comments

Evan You 7 lat temu
rodzic
commit
d75d21c1a1
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      packages/runtime-core/src/componentSlots.ts

+ 1 - 1
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 = {}