You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems the template compiler is generating { key: itemKey(item) } rather than { key: _ctx.itemKey(item) }. That works in function mode but not in module mode.
underfin
added a commit
to underfin/vue-next
that referenced
this issue
Sep 10, 2020
Version
3.0.0-rc.10
Reproduction link
https://codesandbox.io/s/happy-fast-vfld6?file=/src/App.vue
Steps to reproduce
Open reproduction link, the code binds
:key
on a template using a method:What is expected?
Should render items normally without throwing an error
What is actually happening?
An error is thrown:
Uncaught ReferenceError: itemKey is not defined
The text was updated successfully, but these errors were encountered: