Closed ChainsDW closed 3 years ago
The ref attribute means you can use 'this.$refs.xxx' to access the element. Maybe you need to provide a specific reproduction link.
Looks like the string format ref
does not handle such a nested path. You can write a function style ref to register the element.
<template>
<el-input :ref="el => { inputCun.search = el }"></el-input>
</template>
https://v3.vuejs.org/guide/composition-api-template-refs.html#usage-inside-v-for
ref="inputCun.search" doesn't work