Browse Source

修改 FormConfig

wangqin
Joe 10 months ago
parent
commit
7c54a3ded1
  1. 3
      ruoyi-ui/src/views/JiHeExpressway/components/FormConfig/components/MultipleLabelItem.vue

3
ruoyi-ui/src/views/JiHeExpressway/components/FormConfig/components/MultipleLabelItem.vue

@ -3,7 +3,8 @@
<div v-for="(item, index) in options" :key="`${item.key}|${index}`" class="item">
<span v-if="item.prefix" class="prefix" :style="item.prefix.style">{{ item.prefix.text }}</span>
<!-- <component class="unknown" :is="getComponent(item.type)" v-bind="getBindData(item)" v-model="data[item.key]" /> -->
<ElFormItem :rules="getRules({ ...item, label: item.label || _config.label, required: _config.required })">
<ElFormItem :prop="item.key"
:rules="getRules({ ...item, label: item.label || _config.label, required: _config.required })">
<ProxyCom class="unknown" :value="getValue(item)" :item="item" @update:value="data => updateValue(item, data)" />
</ElFormItem>

Loading…
Cancel
Save