mirror of
https://gitee.com/vuejs/vue.git
synced 2024-12-02 03:57:36 +08:00
chore: fix flow
This commit is contained in:
parent
d2902ca8ec
commit
02f897a4bc
@ -51,12 +51,12 @@ export function FunctionalRenderContext (
|
||||
this.injections = resolveInject(options.inject, parent)
|
||||
this.slots = () => resolveSlots(children, parent)
|
||||
|
||||
Object.defineProperty(this, 'scopedSlots', {
|
||||
Object.defineProperty(this, 'scopedSlots', ({
|
||||
enumerable: true,
|
||||
get () {
|
||||
return normalizeScopedSlots(data.scopedSlots, this.slots())
|
||||
}
|
||||
})
|
||||
}: any))
|
||||
|
||||
// support for compiled functional template
|
||||
if (isCompiled) {
|
||||
|
Loading…
Reference in New Issue
Block a user