当我们获取 普通 的 this.$refs 是一个 对象组件 取值方式为 this.$refs.xxx.name 当我们for循环动态生成时 组件 ref时 他就变成了一个数组、取值方式为 this.$refs.xxx[0].name