mirror of https://github.com/ElemeFE/element
FormItem: v-bind:style -> :style (#11996)
parent
f6d8b33901
commit
55c97e588c
|
@ -8,10 +8,10 @@
|
||||||
},
|
},
|
||||||
sizeClass ? 'el-form-item--' + sizeClass : ''
|
sizeClass ? 'el-form-item--' + sizeClass : ''
|
||||||
]">
|
]">
|
||||||
<label :for="labelFor" class="el-form-item__label" v-bind:style="labelStyle" v-if="label || $slots.label">
|
<label :for="labelFor" class="el-form-item__label" :style="labelStyle" v-if="label || $slots.label">
|
||||||
<slot name="label">{{label + form.labelSuffix}}</slot>
|
<slot name="label">{{label + form.labelSuffix}}</slot>
|
||||||
</label>
|
</label>
|
||||||
<div class="el-form-item__content" v-bind:style="contentStyle">
|
<div class="el-form-item__content" :style="contentStyle">
|
||||||
<slot></slot>
|
<slot></slot>
|
||||||
<transition name="el-zoom-in-top">
|
<transition name="el-zoom-in-top">
|
||||||
<div
|
<div
|
||||||
|
|
Loading…
Reference in New Issue