Commit 55c97e58 authored by 38elements's avatar 38elements Committed by Jikkai Xiao

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

parent f6d8b339
...@@ -8,10 +8,10 @@ ...@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment