AmCustomField.vue
24 lines
| 1 | <template> |
| 2 | <el-form-item |
| 3 | v-for="field in infoFormRule.customFields" |
| 4 | class="am-fs__info-form__item" |
| 5 | :prop="field.label.replace(' ', '')" |
| 6 | > |
| 7 | <template #label> |
| 8 | <span class="am-fs__info-form__label"> |
| 9 | {{ field.label }} |
| 10 | </span> |
| 11 | </template> |
| 12 | <input |
| 13 | v-model="infoFormRule.customFields" |
| 14 | :name="field.label" |
| 15 | size="default" |
| 16 | :type="field.type" |
| 17 | /> |
| 18 | </el-form-item> |
| 19 | </template> |
| 20 | |
| 21 | <script setup></script> |
| 22 | |
| 23 | <style></style> |
| 24 |