chore: fix test

This commit is contained in:
Evan You
2021-03-25 16:06:02 -04:00
parent b4b82159e2
commit 7cf143dd4f
2 changed files with 6 additions and 3 deletions

View File

@@ -673,7 +673,8 @@ function finishComponentSetup(
// 1. the render function may already exist, returned by `setup`
// 2. otherwise try to use the `Component.render`
// 3. if the component doesn't have a render function,
// set `instance.render` to NOOP so that it can inherit the render function from mixins/extend
// set `instance.render` to NOOP so that it can inherit the render
// function from mixins/extend
instance.render = (instance.render ||
Component.render ||
NOOP) as InternalRenderFunction