const onChangeValue = (e: any) => {
console.log(e,"eeeeee")
const length=e
let arr:any=[]
for(var i=0;i<length;i++){
arr.push({index:i})
}
setDataList(arr)
}

前端项目实战85-根据input的值生成form表单_i++