update Input on-form-change trigger timing #198
update Input on-form-change trigger timing #198
This commit is contained in:
parent
e011898cc7
commit
8bca10707b
2 changed files with 28 additions and 486 deletions
|
@ -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 () {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue