[Improvement] Field: support v-model.number (#1221)

This commit is contained in:
neverland
2018-06-04 20:08:50 +08:00
committed by GitHub
parent 4eb328ae08
commit a3579a88e4
6 changed files with 19 additions and 39 deletions
+1
View File
@@ -14,6 +14,7 @@ test('click icon event', () => {
const onIconClick = jest.fn();
const wrapper = mount(Field, {
propsData: {
value: 'a',
icon: 'search',
onIconClick
}