mirror of
https://github.com/vuejs/vue.git
synced 2024-11-21 20:28:54 +00:00
fix: pass element creation helper to static render fns for functional components
fix #12625
This commit is contained in:
parent
8904ca77c2
commit
dc8a68e8c6
@ -18,7 +18,7 @@ export function renderStatic(
|
||||
// otherwise, render a fresh tree.
|
||||
tree = cached[index] = this.$options.staticRenderFns[index].call(
|
||||
this._renderProxy,
|
||||
null,
|
||||
this._c,
|
||||
this // for render fns generated for functional component templates
|
||||
)
|
||||
markStatic(tree, `__static__${index}`, false)
|
||||
|
Loading…
Reference in New Issue
Block a user