mirror of https://github.com/ElemeFE/element
Changelog: update for 1.2.2 (#3141)
parent
705325c70a
commit
f60fe752f8
|
@ -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*
|
||||
|
|
|
@ -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*
|
||||
|
||||
|
|
|
@ -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/**
|
||||
|
|
|
@ -153,7 +153,7 @@
|
|||
]);
|
||||
},
|
||||
setCheckedKeys() {
|
||||
this.$refs.tree.setCheckedKeys([8]);
|
||||
this.$refs.tree.setCheckedKeys([3]);
|
||||
},
|
||||
resetChecked() {
|
||||
this.$refs.tree.setCheckedKeys([]);
|
||||
|
@ -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([]);
|
||||
|
|
|
@ -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 | 当绑定值变化时触发 | 当前值 |
|
|
@ -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)。
|
||||
|
|
|
@ -175,7 +175,7 @@
|
|||
]);
|
||||
},
|
||||
setCheckedKeys() {
|
||||
this.$refs.tree.setCheckedKeys([8]);
|
||||
this.$refs.tree.setCheckedKeys([3]);
|
||||
},
|
||||
resetChecked() {
|
||||
this.$refs.tree.setCheckedKeys([]);
|
||||
|
@ -468,7 +468,7 @@
|
|||
}]);
|
||||
},
|
||||
setCheckedKeys() {
|
||||
this.$refs.tree.setCheckedKeys([8]);
|
||||
this.$refs.tree.setCheckedKeys([3]);
|
||||
},
|
||||
resetChecked() {
|
||||
this.$refs.tree.setCheckedKeys([]);
|
||||
|
|
Loading…
Reference in New Issue