|
|
@@ -36,7 +36,7 @@ defineProps<Props>()
|
|
|
<template v-else>
|
|
|
<el-row :gutter="20">
|
|
|
<el-col v-for="child in item.children" :span="child.span || formConfig.span || 12" v-show="!child.hidden">
|
|
|
- <el-form-item :label="child.notFormItem ? '' : child.label" :rules="child.rules" :prop="child.name">
|
|
|
+ <el-form-item :label="child.label" :rules="child.rules" :prop="child.name">
|
|
|
<form-comp :item="child" v-model="formData[child.name]">
|
|
|
<template #[slot.alias]="slotProps" v-for="slot in child.slots" :key="slot.alias">
|
|
|
<slot :name="slot.alias" v-bind="slotProps"></slot>
|