Browse Source

Merge branch 'qin_18'

lwx_v12
herenshan112 1 month ago
parent
commit
3c1318ba51
  1. 13
      src/components/lowCode/newFormItem.vue

13
src/components/lowCode/newFormItem.vue

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

Loading…
Cancel
Save