Skip to content

Commit 0c1b745

Browse files
committed
fix: InputSearch return wrong value #53
1 parent 49101c7 commit 0c1b745

File tree

3 files changed

+13
-1
lines changed

3 files changed

+13
-1
lines changed

CHANGELOG.en-US.md

+5
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22

33
---
44

5+
## 0.6.4
6+
7+
`2018-06-28`
8+
- 🐞 Fix `InputSearch` `v-model` return wrong value[#53](https://github.com/vueComponent/ant-design/issues/53
9+
510
## 0.6.3
611

712
`2018-06-26`

CHANGELOG.zh-CN.md

+5
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22

33
---
44

5+
## 0.6.4
6+
7+
`2018-06-28`
8+
- 🐞 修复`InputSearch``v-model`返回值错误问题[#53](https://github.com/vueComponent/ant-design/issues/53)
9+
510
## 0.6.3
611

712
`2018-06-26`

components/input/Search.jsx

+3-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,9 @@ export default {
2222
},
2323
enterButton: PropTypes.oneOfType([PropTypes.bool, PropTypes.string, PropTypes.object]),
2424
},
25-
computed: {
25+
model: {
26+
prop: 'value',
27+
event: 'change.value',
2628
},
2729
methods: {
2830
onSearch (e) {

0 commit comments

Comments
 (0)