<div span="24" v-for="(item,index) in iptList">
    <FormItem :label="item.label">
        <Input placeholder="请输入" v-model="item.key" :disabled="false"></Input>
    </FormItem>
</div>

data:
iptList:[
   {label:'位1',key:''},
   {label:'位2',key:''},
   {label:'位3',key:''},
   {label:'位4',key:''}
]
//你填写的数据都会绑定在iptList里面,只要把iptList传给后端即可
Logo

前往低代码交流专区

更多推荐