wip: fix binding type fallback

This commit is contained in:
Evan You
2020-11-10 17:31:09 -05:00
parent 886ed7681d
commit 3019508e75
3 changed files with 8 additions and 9 deletions

View File

@@ -227,7 +227,7 @@ export function generate(
if (genScopeId) {
push(`${PURE_ANNOTATION}_withId(`)
}
push(`() => {`)
push(`(_ctx, _cache${optimizeSources}) => {`)
} else {
if (genScopeId) {
push(`const render = ${PURE_ANNOTATION}_withId(`)