chore: inherit click event

This commit is contained in:
chenjiahan
2020-08-26 14:14:55 +08:00
parent af94c92614
commit 48ff0f85fb
3 changed files with 2 additions and 16 deletions
-6
View File
@@ -83,7 +83,6 @@ export default createComponent({
'blur',
'focus',
'clear',
'click',
'keypress',
'click-input',
'click-left-icon',
@@ -346,10 +345,6 @@ export default createComponent({
resetScroll();
},
onClick(event) {
this.$emit('click', event);
},
onClickInput(event) {
this.$emit('click-input', event);
},
@@ -585,7 +580,6 @@ export default createComponent({
valueClass={bem('value')}
titleClass={[bem('label', labelAlign), this.labelClass]}
arrowDirection={this.arrowDirection}
onClick={this.onClick}
>
<div class={bem('body')}>
{this.genInput()}