mirror of https://github.com/ElemeFE/element
Changelog: update for 2.0.10
parent
a7fa7449d0
commit
5bb6135f6f
|
@ -1,5 +1,14 @@
|
|||
## Changelog
|
||||
|
||||
### 2.0.10
|
||||
|
||||
*2017-12-29*
|
||||
|
||||
- Fixed wrong max height calculation of Table when fixed column and summary row co-exist, #9026
|
||||
- Fixed uncompiled color style of empty text in Table, #9028
|
||||
- Now DatePicker only emits `change` event when value is truly changed, #9029 (by @remizovvv)
|
||||
- Added `tabindex` attribute for Input, #9041 (by @dicklwm)
|
||||
|
||||
### 2.0.9🎄
|
||||
|
||||
*2017-12-24*
|
||||
|
|
|
@ -1,5 +1,14 @@
|
|||
## Changelog
|
||||
|
||||
### 2.0.10
|
||||
|
||||
*2017-12-29*
|
||||
|
||||
- Fixed wrong max height calculation of Table when fixed column and summary row co-exist, #9026
|
||||
- Fixed uncompiled color style of empty text in Table, #9028
|
||||
- Now DatePicker only emits `change` event when value is truly changed, #9029 (by @remizovvv)
|
||||
- Added `tabindex` attribute for Input, #9041 (by @dicklwm)
|
||||
|
||||
### 2.0.9🎄
|
||||
|
||||
*2017-12-24*
|
||||
|
|
|
@ -1,5 +1,14 @@
|
|||
## 更新日志
|
||||
|
||||
### 2.0.10
|
||||
|
||||
*2017-12-29*
|
||||
|
||||
- 修复了 Table 在固定列和合计行并存时的高度计算错误的问题,#9026
|
||||
- 修复了 Table 样式 SCSS 文件错误编译的问题,#9028
|
||||
- 现在 DatePicker 的 `change` 事件只会在 `value` 真正改变的时候触发,#9029(by @remizovvv)
|
||||
- 新增 Input 的 `tabindex` 属性,#9041(by @dicklwm)
|
||||
|
||||
### 2.0.9🎄
|
||||
|
||||
*2017-12-24*
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
<span v-if="collapseTags && selected.length">
|
||||
<el-tag
|
||||
:closable="!disabled"
|
||||
size="small"
|
||||
:size="collapseTagSize"
|
||||
:hit="selected[0].hitState"
|
||||
type="info"
|
||||
@close="deleteTag($event, selected[0])"
|
||||
|
@ -22,7 +22,7 @@
|
|||
<el-tag
|
||||
v-if="selected.length > 1"
|
||||
:closable="false"
|
||||
size="small"
|
||||
:size="collapseTagSize"
|
||||
type="info"
|
||||
disable-transitions>
|
||||
<span class="el-select__tags-text">+ {{ selected.length - 1 }}</span>
|
||||
|
@ -204,6 +204,12 @@
|
|||
|
||||
selectSize() {
|
||||
return this.size || this._elFormItemSize || (this.$ELEMENT || {}).size;
|
||||
},
|
||||
|
||||
collapseTagSize() {
|
||||
return ['small', 'mini'].indexOf(this.selectSize) > -1
|
||||
? 'mini'
|
||||
: 'small';
|
||||
}
|
||||
},
|
||||
|
||||
|
|
Loading…
Reference in New Issue