Skip to content

Commit

Permalink
FormItem: v-bind:style -> :style (#11996)
Browse files Browse the repository at this point in the history
  • Loading branch information
38elements authored and jikkai committed Jul 15, 2018
1 parent f6d8b33 commit 55c97e5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/form/src/form-item.vue
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@
},
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>
</label>
<div class="el-form-item__content" v-bind:style="contentStyle">
<div class="el-form-item__content" :style="contentStyle">
<slot></slot>
<transition name="el-zoom-in-top">
<div
Expand Down

0 comments on commit 55c97e5

Please sign in to comment.