<a-form-model-item label="触发条件" >
<a-col :span="5">
<a-form-model-item prop="ace1">
<a-input v-model.number="strategyForm.ace1"></a-input>
</a-form-model-item>
</a-col>
<a-col :span="12">
<a-form-model-item prop="ace2">
<a-input v-model.number="strategyForm.ace2"></a-input>
</a-form-model-item>
</a-col>
</a-form-model-item>
rules:{
ace1: [
{ required: true, message: '请输入触发天数', trigger: 'blur' },
],
ace2: [
{ required: true, message: '请输入购买的商品', trigger: 'blur' },
],
}
通过-form-model-item嵌套来实现的