vuejs input的name属性名加入动态的index值 Posted on 2022年4月7日 by eagle 我想在v-for中的 <input name=”id[1]” /> 数字1,是动态调用index索引值。 结果是这样的了。 这样就拼接成了我想的的id[x] 这样的数组形式的名这。