refactor(runtime-core): tweak component proxy implementation
This commit is contained in:
@@ -36,7 +36,9 @@ function compileToFunction(
|
||||
...options
|
||||
})
|
||||
|
||||
return new Function('Vue', code)(runtimeDom) as RenderFunction
|
||||
const render = new Function('Vue', code)(runtimeDom) as RenderFunction
|
||||
render.isRuntimeCompiled = true
|
||||
return render
|
||||
}
|
||||
|
||||
registerRuntimeCompiler(compileToFunction)
|
||||
|
||||
Reference in New Issue
Block a user