diff --git a/packages/form/__tests__/form.spec.ts b/packages/form/__tests__/form.spec.ts index 43ae5d3e07..f59c4613d1 100644 --- a/packages/form/__tests__/form.spec.ts +++ b/packages/form/__tests__/form.spec.ts @@ -48,7 +48,6 @@ describe('Form', () => { }, }) expect(findStyle(wrapper, '.el-form-item__label').width).toBe('80px') - expect(findStyle(wrapper, '.el-form-item__content').marginLeft).toBe('80px') }) /* diff --git a/packages/form/src/form-item.vue b/packages/form/src/form-item.vue index 131813cbab..24223f17a0 100644 --- a/packages/form/src/form-item.vue +++ b/packages/form/src/form-item.vue @@ -42,31 +42,16 @@