fix(runtime-core): initialize renderCache if not present
This commit is contained in:
parent
5658f8b678
commit
3116b5d6c3
@ -51,7 +51,7 @@ const publicPropertiesMap: Record<
|
||||
> = {
|
||||
$: i => i,
|
||||
$el: i => i.vnode.el,
|
||||
$cache: i => i.renderCache,
|
||||
$cache: i => i.renderCache || (i.renderCache = []),
|
||||
$data: i => i.data,
|
||||
$props: i => i.propsProxy,
|
||||
$attrs: i => i.attrs,
|
||||
|
Loading…
Reference in New Issue
Block a user