-
-
Notifications
You must be signed in to change notification settings - Fork 9k
Closed
Description
Vue version
3.5.24
Link to minimal reproduction
Steps to reproduce
- open repo
- you can see errors
Cannot read properties of undefined (reading 'call')
What is expected?
useTemplateRef returns an array of component's expose instance when use array.map() in tsx component
What is actually happening?
i don't konw is ok or not.
in my case , data.map((item, index) => <AA key={index} title={item} ref="aa" ref_for={true}/>) works fine .
but when remove ref_for={true} , it throws errors , useTemplateRef does not return an array of AA's expose instance
System Info
Any additional comments?
No response
Metadata
Metadata
Assignees
Labels
No labels