<el-form-item
v-for="(domain, index) in dynamicValidateForm.domains"
:label=""" + index"
:key="domain.key"
:prop=""domains." + index + ".value""
:rules="{
required: true, message: "", trigger: "blur"
}"
>
<el-input v-model="domain.value"></el-input><el-button @click.prevent="removeDomain(domain)"></el-button>
</el-form-item>
doubts:
:prop=""domains." + index + ".value""
Why is" domains.+index+.value" instead of "dynamicValidateForm.domains+index+.value" or" domain.value"?
in prop?