Compare commits

...

2 Commits

Author SHA1 Message Date
herenshan112 3c1318ba51 Merge branch 'qin_18' 1 month ago
herenshan112 25a3823fba 处理标题也出问题,玩车个发你 1 month ago
  1. 11
      src/components/lowCode/newFormItem.vue

11
src/components/lowCode/newFormItem.vue

@ -415,6 +415,7 @@ const testPage = (val:any) =>{
:class="config.className" :class="config.className"
:label="getLabel(data.item as FormItem)" :label="getLabel(data.item as FormItem)"
:rules="itemRules" :rules="itemRules"
class="rlabel"
> >
<template #label v-if="config.help"> <template #label v-if="config.help">
<span :style="getFormItemLableStyle(configStyle)">{{ getLabel(data.item) }}</span> <span :style="getFormItemLableStyle(configStyle)">{{ getLabel(data.item) }}</span>
@ -474,5 +475,13 @@ const testPage = (val:any) =>{
</el-form-item> </el-form-item>
</template> </template>
<style lang='scss' scoped> <style lang='scss' scoped>
.rlabel{
label{
height: 100%;
}
:deep .el-form-item__label{
height: 100%;
max-width: 150px;
}
}
</style> </style>

Loading…
Cancel
Save