Skip to content

Commit 726f6b4

Browse files
committed
release 2.1.4
1 parent 5917df2 commit 726f6b4

File tree

5 files changed

+32
-8
lines changed

5 files changed

+32
-8
lines changed

CHANGELOG.en-US.md

+10
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,16 @@
1010

1111
---
1212

13+
## 2.1.4
14+
15+
`2021-05-09`
16+
17+
- 🐞 Fix `Table` scrolling misalignment issue [#4045](https://github.com/vueComponent/ant-design-vue/issues/4045)
18+
- 🐞 Fix `Typography` editable mode triggering link jump issue [#4105](https://github.com/vueComponent/ant-design-vue/issues/4105)
19+
- 🐞 Fix the issue that `Carousel` variableWidth does not take effect [#3977](https://github.com/vueComponent/ant-design-vue/issues/3977)
20+
- 🐞 Fix the problem that `TreeSelect` cannot delete parent and child nodes at the same time through the keyboard [#3508](https://github.com/vueComponent/ant-design-vue/issues/3508)
21+
- 🐞 Fix some types of errors
22+
1323
## 2.1.3
1424

1525
`2021-04-25`

CHANGELOG.zh-CN.md

+10
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,16 @@
1010

1111
---
1212

13+
## 2.1.4
14+
15+
`2021-05-09`
16+
17+
- 🐞 修复 `Table` 滚动错位问题 [#4045](https://github.com/vueComponent/ant-design-vue/issues/4045)
18+
- 🐞 修复 `Typography` editable 模式触发链接跳转问题 [#4105](https://github.com/vueComponent/ant-design-vue/issues/4105)
19+
- 🐞 修复 `Carousel` variableWidth 不生效问题 [#3977](https://github.com/vueComponent/ant-design-vue/issues/3977)
20+
- 🐞 修复 `TreeSelect` 无法通过键盘同时删除父子节点问题 [#3508](https://github.com/vueComponent/ant-design-vue/issues/3508)
21+
- 🐞 修复若干类型错误问题
22+
1323
## 2.1.3
1424

1525
`2021-04-25`

components/vc-tree-select/src/Select.jsx

+10-6
Original file line numberDiff line numberDiff line change
@@ -874,21 +874,25 @@ const Select = defineComponent({
874874
},
875875

876876
onSearchInputKeyDown(event) {
877-
const { _searchValue: searchValue, _valueList: valueList, _valueEntities: valueEntities } = this.$data;
877+
const {
878+
_searchValue: searchValue,
879+
_valueList: valueList,
880+
_valueEntities: valueEntities,
881+
} = this.$data;
878882

879883
const { keyCode } = event;
880884

881885
if (KeyCode.BACKSPACE === keyCode && this.isMultiple() && !searchValue && valueList.length) {
882886
let lastValue = valueList[valueList.length - 1].value;
883887
const { treeCheckStrictly } = this.$props;
884-
if(!treeCheckStrictly) {
888+
if (!treeCheckStrictly) {
885889
let cur = valueEntities[lastValue];
886-
while(cur) {
887-
if(valueList.some(j => j.value === cur.value)) {
890+
while (cur) {
891+
if (valueList.some(j => j.value === cur.value)) {
888892
lastValue = cur.value;
889893
cur = cur.parent;
890-
}else{
891-
cur = null
894+
} else {
895+
cur = null;
892896
}
893897
}
894898
}

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "ant-design-vue",
3-
"version": "2.1.3",
3+
"version": "2.1.4",
44
"title": "Ant Design Vue",
55
"description": "An enterprise-class UI design language and Vue-based implementation",
66
"keywords": [

v2-doc

0 commit comments

Comments
 (0)