feat(compiler): mark compiler-generated slots for runtime
This commit is contained in:
@@ -42,7 +42,7 @@ export function resolveSlots(
|
||||
) {
|
||||
let slots: Slots | void
|
||||
if (instance.vnode.shapeFlag & ShapeFlags.SLOTS_CHILDREN) {
|
||||
if ((children as any)._normalized) {
|
||||
if ((children as any)._compiled) {
|
||||
// pre-normalized slots object generated by compiler
|
||||
slots = children as Slots
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user