Skip to content

Commit 24fd488

Browse files
committed
2 parents 3d8d78e + 89b6647 commit 24fd488

File tree

26 files changed

+304
-216
lines changed

26 files changed

+304
-216
lines changed

CHANGELOG.en-US.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,31 @@
1010

1111
---
1212

13+
## 1.4.3
14+
15+
`2019-10-22`
16+
17+
- 🐞 Fix Cascader component style issues caused by Input [#1293](https://github.com/vueComponent/ant-design-vue/issues/1280)
18+
- 🐞 Fix some component can not use `<template slot="xxx" />` [041839](https://github.com/vueComponent/ant-design-vue/commit/041839b90131d3a4e6a5663986b811d60d4e6ba2)
19+
20+
## 1.4.2
21+
22+
`2019-10-21`
23+
24+
- 🐞 Fix `Radio.Group` triggers multiple change callback issues [#1280](https://github.com/vueComponent/ant-design-vue/issues/1280)
25+
- 🐞 Fix `Pagination` keyup enter not work [#1316](https://github.com/vueComponent/ant-design-vue/issues/1316)
26+
27+
## 1.4.1
28+
29+
`2019-10-17`
30+
31+
- 🐞 fix `Input.Password` cannot use `v-model` [#1306](https://github.com/vueComponent/ant-design-vue/issues/1306)
32+
- 🌟 Optimize the clear button of `Input` to display the logic. [#1296](https://github.com/vueComponent/ant-design-vue/issues/1296)
33+
- 🌟 After click clear button, `Input` becomes the `focus` state.
34+
- 🐞 fix progress strokeWidth not work [#1301](https://github.com/vueComponent/ant-design-vue/issues/1301)
35+
- 🐞 Fix Radio.Group triggers multiple change callback issues [#1280](https://github.com/vueComponent/ant-design-vue/issues/1280)
36+
- 🐞 Fix Form initialValue error [#1291](https://github.com/vueComponent/ant-design-vue/issues/1291)
37+
1338
## 1.4.0
1439

1540
`2019-10-14`

CHANGELOG.zh-CN.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,31 @@
1010

1111
---
1212

13+
## 1.4.3
14+
15+
`2019-10-22`
16+
17+
- 🐞 修复 Input 导致的 Cascader 组件样式问题 [#1293](https://github.com/vueComponent/ant-design-vue/issues/1280)
18+
- 🐞 修复部分组件不能使用 `<template slot="xxx" />` 问题 [041839](https://github.com/vueComponent/ant-design-vue/commit/041839b90131d3a4e6a5663986b811d60d4e6ba2)
19+
20+
## 1.4.2
21+
22+
`2019-10-21`
23+
24+
- 🐞 修复 Radio.Group 触发多次 change 回调问题 [#1280](https://github.com/vueComponent/ant-design-vue/issues/1280)
25+
- 🐞 修复 Pagination 输入框跳转无效问题 [#1316](https://github.com/vueComponent/ant-design-vue/issues/1316)
26+
27+
## 1.4.1
28+
29+
`2019-10-17`
30+
31+
- 🐞 修复 `Input.Password` 无法使用 `v-model` 的问题 [#1306](https://github.com/vueComponent/ant-design-vue/issues/1306)
32+
- 🌟 优化 `Input` 的清除按钮显示逻辑 [#1296](https://github.com/vueComponent/ant-design-vue/issues/1296)
33+
- 🌟 点击清除按钮后 `Input` 变为 `focus` 状态
34+
- 🐞 修复 `Progress``strokeWidth` 属性失效问题 [#1301](https://github.com/vueComponent/ant-design-vue/issues/1301)
35+
- 🐞 修复 Radio.Group 触发多次 change 回调问题 [#1280](https://github.com/vueComponent/ant-design-vue/issues/1280)
36+
- 🐞 修复 Form initialValue 报错问题 [#1291](https://github.com/vueComponent/ant-design-vue/issues/1291)
37+
1338
## 1.4.0
1439

1540
`2019-10-14`

components/_util/props-util.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,9 @@ const getComponentFromProp = (instance, prop, options = instance, execute = true
137137
const componentOptions = instance.componentOptions || {};
138138
(componentOptions.children || []).forEach(child => {
139139
if (child.data && child.data.slot === prop) {
140-
delete child.data.attrs.slot;
140+
if (child.data.attrs) {
141+
delete child.data.attrs.slot;
142+
}
141143
if (child.tag === 'template') {
142144
slotsProp.push(child.children);
143145
} else {

components/auto-complete/__tests__/__snapshots__/demo.test.js.snap

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ exports[`renders ./components/auto-complete/demo/basic.md correctly 1`] = `
77
<div unselectable="on" class="ant-select-selection__placeholder" style="display: block; user-select: none;">input here</div>
88
<ul>
99
<li class="ant-select-search ant-select-search--inline">
10-
<div class="ant-select-search__field__wrap"><span class="ant-input-affix-wrapper ant-select-search__field" value=""><input type="text" value="" class="ant-input"></span><span class="ant-select-search__field__mirror">&nbsp;</span></div>
10+
<div class="ant-select-search__field__wrap"><input type="text" value="" class="ant-input ant-select-search__field"><span class="ant-select-search__field__mirror">&nbsp;</span></div>
1111
</li>
1212
</ul>
1313
</div><span unselectable="on" class="ant-select-arrow" style="user-select: none;"><i aria-label="icon: down" class="ant-select-arrow-icon anticon anticon-down"><svg viewBox="64 64 896 896" data-icon="down" width="1em" height="1em" fill="currentColor" aria-hidden="true" class=""><path d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"></path></svg></i></span>
@@ -53,7 +53,7 @@ exports[`renders ./components/auto-complete/demo/non-case-sensitive.md correctly
5353
<div unselectable="on" class="ant-select-selection__placeholder" style="display: block; user-select: none;">input here</div>
5454
<ul>
5555
<li class="ant-select-search ant-select-search--inline">
56-
<div class="ant-select-search__field__wrap"><span class="ant-input-affix-wrapper ant-select-search__field" value=""><input type="text" value="" class="ant-input"></span><span class="ant-select-search__field__mirror">&nbsp;</span></div>
56+
<div class="ant-select-search__field__wrap"><input type="text" value="" class="ant-input ant-select-search__field"><span class="ant-select-search__field__mirror">&nbsp;</span></div>
5757
</li>
5858
</ul>
5959
</div><span unselectable="on" class="ant-select-arrow" style="user-select: none;"><i aria-label="icon: down" class="ant-select-arrow-icon anticon anticon-down"><svg viewBox="64 64 896 896" data-icon="down" width="1em" height="1em" fill="currentColor" aria-hidden="true" class=""><path d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"></path></svg></i></span>
@@ -68,7 +68,7 @@ exports[`renders ./components/auto-complete/demo/options.md correctly 1`] = `
6868
<div unselectable="on" class="ant-select-selection__placeholder" style="display: block; user-select: none;">input here</div>
6969
<ul>
7070
<li class="ant-select-search ant-select-search--inline">
71-
<div class="ant-select-search__field__wrap"><span class="ant-input-affix-wrapper ant-select-search__field" value=""><input type="text" value="" class="ant-input"></span><span class="ant-select-search__field__mirror">&nbsp;</span></div>
71+
<div class="ant-select-search__field__wrap"><input type="text" value="" class="ant-input ant-select-search__field"><span class="ant-select-search__field__mirror">&nbsp;</span></div>
7272
</li>
7373
</ul>
7474
</div><span unselectable="on" class="ant-select-arrow" style="user-select: none;"><i aria-label="icon: down" class="ant-select-arrow-icon anticon anticon-down"><svg viewBox="64 64 896 896" data-icon="down" width="1em" height="1em" fill="currentColor" aria-hidden="true" class=""><path d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"></path></svg></i></span>

0 commit comments

Comments
 (0)