element icon indicating copy to clipboard operation
element copied to clipboard

select的size属性问题

Open tonylinyy opened this issue 10 years ago • 1 comments

在1.0.3的时候,如下代码设置了size='small'的时候,可以正常生效,升级到1.0.4以后,设置无效 <el-select v-model="source" size="small" placeholder="来源" @change="sourceChange">

tonylinyy avatar Dec 02 '16 17:12 tonylinyy

Select 在目前的设计稿中并没有区分尺寸。1.0.3 代码中的 size 属性未在文档中列出,也不鼓励用户使用,因为它仅用于 Pagination 组件中选择每页显示条目数的 Select。如果需要小型 Select,可以通过 CSS 来覆盖样式。

未来有计划支持多种大小的 Select。

Leopoldthecoder avatar Dec 03 '16 03:12 Leopoldthecoder