Vue3 动态 refs


vue2的 this.refs[xxxx]写法在vue3中无法使用,因为获取组件实例修改成了 const xxxx = ref(null)

动态refs写法修改成:

// template: