Skip to content

Commit

Permalink
Changelog: update for 1.2.2 (ElemeFE#3141)
Browse files Browse the repository at this point in the history
  • Loading branch information
Leopoldthecoder authored and baiyaaaaa committed Feb 28, 2017
1 parent 705325c commit f60fe75
Show file tree
Hide file tree
Showing 7 changed files with 31 additions and 7 deletions.
10 changes: 10 additions & 0 deletions CHANGELOG.en-US.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
## Changelog

### 1.2.2

*2017-02-28*

- Fixed compatibility issues with Vue 2.2, #3002 #3067 #3097
- Fixed Cascader's dropdown hiding behind Dialog when nested in a Dialog, #3035
- Fixed incorrect parameter of `change` event of Cascader, #3014
- Add `change` event for ColorPicker, #3049 (by @nicoeg)
- Fixed `setCheckedKeys` method of Tree not working on non-leaf nodes, #2967 (by @rainyLeo)

### 1.2.1

*2017-02-23*
Expand Down
9 changes: 9 additions & 0 deletions CHANGELOG.zh-CN.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
## 更新日志

### 1.2.2
*2017-02-28*

- 修复若干组件与 Vue 2.2 不兼容的问题,#3002 #3067 #3097
- 修复嵌套在 Dialog 内的 Cascader 下拉框有时出现在 Dialog 之后的问题,#3035
- 修复 Cascader 的 `change` 事件参数在某些情况下不正确的问题,#3014
- 新增 ColorPicker 的 `change` 事件,#3049(by @nicoeg
- 修复 Tree 的 `setCheckedKeys` 方法对非叶子节点无效的问题,#2967(by @rainyLeo

### 1.2.1
*2017-02-23*

Expand Down
2 changes: 1 addition & 1 deletion build/deploy-ci.sh
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ if [ "$TRAVIS_TAG" ]; then
export SUB_FOLDER=$(echo "$TRAVIS_TAG" | grep -o -E "\d+\.\d+")
echo $SUB_FOLDER

SUB_FOLDER='1.1'
SUB_FOLDER='1.2'
mkdir $SUB_FOLDER
rm -rf *.js *.css *.map static
rm -rf $SUB_FOLDER/**
Expand Down
4 changes: 2 additions & 2 deletions examples/docs/en-US/tree.md
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@
]);
},
setCheckedKeys() {
this.$refs.tree.setCheckedKeys([8]);
this.$refs.tree.setCheckedKeys([3]);
},
resetChecked() {
this.$refs.tree.setCheckedKeys([]);
Expand Down Expand Up @@ -446,7 +446,7 @@ Tree nodes can be initially expanded or checked
}]);
},
setCheckedKeys() {
this.$refs.tree.setCheckedKeys([8]);
this.$refs.tree.setCheckedKeys([3]);
},
resetChecked() {
this.$refs.tree.setCheckedKeys([]);
Expand Down
7 changes: 6 additions & 1 deletion examples/docs/zh-CN/color-picker.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,4 +88,9 @@
| 参数 | 说明 | 类型 | 可选值 | 默认值 |
|---------- |-------- |---------- |------------- |-------- |
| show-alpha | 是否支持透明度选择 | boolean || false |
| color-format | 写入 v-model 的颜色的格式 | string | hsl / hsv / hex / rgb | hex(show-alpha 为 false)/ rgb(show-alpha 为 true) |
| color-format | 写入 v-model 的颜色的格式 | string | hsl / hsv / hex / rgb | hex(show-alpha 为 false)/ rgb(show-alpha 为 true) |

### Events
| 事件名称 | 说明 | 回调参数 |
|---------- |-------- |---------- |
| change | 当绑定值变化时触发 | 当前值 |
2 changes: 1 addition & 1 deletion examples/docs/zh-CN/custom-theme.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,4 +95,4 @@ Vue.use(ElementUI)
}
```

如果不清楚 `babel-plugin-component` 是什么,请阅读 <a href="./#/zh-CN/component/quickstart">快读上手</a> 一节。更多 `element-theme` 用法请参考[项目仓库](https://github.com/ElementUI/element-theme)
如果不清楚 `babel-plugin-component` 是什么,请阅读 <a href="./#/zh-CN/component/quickstart">快速上手</a> 一节。更多 `element-theme` 用法请参考[项目仓库](https://github.com/ElementUI/element-theme)
4 changes: 2 additions & 2 deletions examples/docs/zh-CN/tree.md
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@
]);
},
setCheckedKeys() {
this.$refs.tree.setCheckedKeys([8]);
this.$refs.tree.setCheckedKeys([3]);
},
resetChecked() {
this.$refs.tree.setCheckedKeys([]);
Expand Down Expand Up @@ -468,7 +468,7 @@
}]);
},
setCheckedKeys() {
this.$refs.tree.setCheckedKeys([8]);
this.$refs.tree.setCheckedKeys([3]);
},
resetChecked() {
this.$refs.tree.setCheckedKeys([]);
Expand Down

0 comments on commit f60fe75

Please sign in to comment.