Commit 5bb6135f authored by Leopoldthecoder's avatar Leopoldthecoder Committed by 杨奕

Changelog: update for 2.0.10

parent a7fa7449
## Changelog ## 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🎄 ### 2.0.9🎄
*2017-12-24* *2017-12-24*
......
## Changelog ## 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🎄 ### 2.0.9🎄
*2017-12-24* *2017-12-24*
......
## 更新日志 ## 更新日志
### 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🎄 ### 2.0.9🎄
*2017-12-24* *2017-12-24*
......
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
<span v-if="collapseTags && selected.length"> <span v-if="collapseTags && selected.length">
<el-tag <el-tag
:closable="!disabled" :closable="!disabled"
size="small" :size="collapseTagSize"
:hit="selected[0].hitState" :hit="selected[0].hitState"
type="info" type="info"
@close="deleteTag($event, selected[0])" @close="deleteTag($event, selected[0])"
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
<el-tag <el-tag
v-if="selected.length > 1" v-if="selected.length > 1"
:closable="false" :closable="false"
size="small" :size="collapseTagSize"
type="info" type="info"
disable-transitions> disable-transitions>
<span class="el-select__tags-text">+ {{ selected.length - 1 }}</span> <span class="el-select__tags-text">+ {{ selected.length - 1 }}</span>
...@@ -204,6 +204,12 @@ ...@@ -204,6 +204,12 @@
selectSize() { selectSize() {
return this.size || this._elFormItemSize || (this.$ELEMENT || {}).size; return this.size || this._elFormItemSize || (this.$ELEMENT || {}).size;
},
collapseTagSize() {
return ['small', 'mini'].indexOf(this.selectSize) > -1
? 'mini'
: 'small';
} }
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment