update Input on-form-change trigger timing #198

update Input on-form-change trigger timing #198
This commit is contained in:
梁灏 2017-01-13 15:45:08 +08:00
parent e011898cc7
commit 8bca10707b
2 changed files with 28 additions and 486 deletions

View file

@ -150,7 +150,6 @@
},
handleChange (event) {
this.$emit('on-change', event);
this.$dispatch('on-form-change', this.value);
},
resizeTextarea () {
const autosize = this.autosize;
@ -169,6 +168,7 @@
this.$nextTick(() => {
this.resizeTextarea();
});
this.$dispatch('on-form-change', this.value);
}
},
ready () {