FormItem: v-bind:style -> :style (#11996)

pull/12010/head
38elements 2018-07-15 17:57:38 +09:00 committed by Jikkai Xiao
parent f6d8b33901
commit 55c97e588c
1 changed files with 2 additions and 2 deletions

View File

@ -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