chore: comments
This commit is contained in:
parent
ca82c329f0
commit
d75d21c1a1
@ -25,8 +25,8 @@ export function resolveSlots(
|
|||||||
) {
|
) {
|
||||||
let slots: Slots | void
|
let slots: Slots | void
|
||||||
if (instance.vnode.shapeFlag & SLOTS_CHILDREN) {
|
if (instance.vnode.shapeFlag & SLOTS_CHILDREN) {
|
||||||
// pre-normalized slots object generated by compiler
|
|
||||||
if ((children as any)._normalized) {
|
if ((children as any)._normalized) {
|
||||||
|
// pre-normalized slots object generated by compiler
|
||||||
slots = children as Slots
|
slots = children as Slots
|
||||||
} else {
|
} else {
|
||||||
slots = {}
|
slots = {}
|
||||||
|
Loading…
Reference in New Issue
Block a user