- 应用起来感觉没有 elementUI 不便
<a-form-item style="display: none;"
:labelCol="labelCol" :wrapperCol="wrapperCol" label="id">
<a-input placeholder="请输出名称" v-decorator="['personid', {}]" />
</a-form-item>
<a-form-item
:labelCol="labelCol" :wrapperCol="wrapperCol" label="名称">
<a-input placeholder="请输出名称" v-decorator="['personname', { rules: [{ required: true, message:'Please input your data!'}] }]" />
</a-form-item>
- 减少和批改在一个弹出页里,id 须要暗藏
- a-form-item 代表一行
- labelCol 和 wrapperCol 是页面的布局
- v-decorator 能够写验证信息