Can I Access component directly without ref?

I draw same components on one page by “v-for”
TestComponent v-for=“Item in Items” v-bind:key=“Item.id” v-bind:dataObj = “Item.dataObj”

If It has few of TestComponent, Can I Access some component directly without ref?

I tried use “ref” but failed.
this.$refs[msg.id].dataObj.datas = msg;

ref was undefined.

I want access component by binding datas like object’s key value.

When used in a v-for loop, the returned $refs are place in an array. So you would have to filter through them to find a specific ref with the given msg id.