update InputNumber

update InputNumber
This commit is contained in:
梁灏 2017-01-04 16:00:02 +08:00
parent afd3509a89
commit 4a260ed5e4
2 changed files with 12 additions and 3 deletions

View file

@ -177,9 +177,9 @@
setValue (val) {
this.$nextTick(() => {
this.value = val;
this.$emit('on-change', val);
this.$dispatch('on-form-change', val);
});
this.$emit('on-change', val);
},
focus () {
this.focused = true;