diff --git a/src/components/date-picker/picker.vue b/src/components/date-picker/picker.vue index 47b8f411..e8076939 100644 --- a/src/components/date-picker/picker.vue +++ b/src/components/date-picker/picker.vue @@ -569,9 +569,9 @@ handleInputMouseleave () { this.showClose = false; }, - handleIconClick (event) { + handleIconClick (e) { if (this.showClose) { - event.stopPropagation(); + if (e) e.stopPropagation(); this.handleClear(); } else if (!this.disabled) { this.handleFocus();