diff --git a/packages/form/src/label-wrap.vue b/packages/form/src/label-wrap.vue index d263f7ddc78..195725d886f 100644 --- a/packages/form/src/label-wrap.vue +++ b/packages/form/src/label-wrap.vue @@ -17,7 +17,11 @@ export default { if (autoLabelWidth && autoLabelWidth !== 'auto') { const marginLeft = parseInt(autoLabelWidth, 10) - this.computedWidth; if (marginLeft) { - style.marginLeft = marginLeft + 'px'; + if(this.elForm.labelPosition === 'left'){ + style.marginRight = marginLeft + 'px'; + }else{ + style.marginLeft = marginLeft + 'px'; + } } } return (