How do I call a custom method in a child component of a loop in vue2?

there is child component B in parent component A, but child component B is looped out. In this case, how to call the custom method in component B?
use this.$refs to report errors

clipboard.png

Mar.06,2021

loops out an array $refs you can print it and see

Menu