mirror of https://github.com/ElemeFE/element
remove select unnecessary input emits
parent
609901ae7a
commit
cc0ca6851b
|
@ -190,8 +190,6 @@
|
|||
},
|
||||
|
||||
value(val) {
|
||||
this.$emit('input', val);
|
||||
this.$emit('change', val);
|
||||
if (this.valueChangeBySelected) {
|
||||
this.valueChangeBySelected = false;
|
||||
return;
|
||||
|
@ -486,6 +484,7 @@
|
|||
this.selected = {};
|
||||
this.selectedLabel = '';
|
||||
this.$emit('input', '');
|
||||
this.$emit('change', '');
|
||||
this.visible = false;
|
||||
},
|
||||
|
||||
|
|
Loading…
Reference in New Issue