宽度
Element UI
- 父元素不限制宽度时,默认有个宽度
207px;

- 父元素有固定宽度时,以父元素宽度为准;

Element Plus
- 父元素不限制宽度时,默认
100%;

- 父元素有固定宽度时,以父元素宽度为准;

高度
ElementUI 和 ElementPlus 的属性 size 有差异,且高度也不同;
| Element UI | Element Plus | |||
|---|---|---|---|---|
| 默认 | 40px | 默认 | 32px | |
| medium | 36px | large | 40px | |
| small | 32px | default | 32px | |
| mini | 28px | small | 24px |
下拉框插入body元素
下拉框元素默认放body 元素,可通过属性设置放在 el-select 元素内。且 ElementUI 和 ElementPlus 有差异。
Element UI
popper-append-to-body

Element Plus
teleported

结构
两者的内部实现完全不一样了,所以在 ElementUI 上做过样式修改,代码直接拷贝到 ElementPlus 是无效的;
Element UI

Element Plus










