diff --git a/src/search/README.md b/src/search/README.md index 25a2bf12f..ff01fe683 100644 --- a/src/search/README.md +++ b/src/search/README.md @@ -147,7 +147,8 @@ Use `action` slot to custom right button, `cancel` event will no longer be Emitt | update:model-value | Emitted when input value changed | _value: string_ | | focus | Emitted when input is focused | _event: Event_ | | blur | Emitted when input is blurred | _event: Event_ | -| clear | Emitted when the clear icon is clicked | _event: Event_ | +| click-input | Emitted when the input is clicked | _event: MouseEvent_ | +| clear | Emitted when the clear icon is clicked | _event: MouseEvent_ | | cancel | Emitted when the cancel button is clicked | - | ### Methods diff --git a/src/search/README.zh-CN.md b/src/search/README.zh-CN.md index fc0154ddb..9d8685218 100644 --- a/src/search/README.zh-CN.md +++ b/src/search/README.zh-CN.md @@ -159,7 +159,8 @@ export default { | update:model-value | 输入框内容变化时触发 | _value: string (当前输入的值)_ | | focus | 输入框获得焦点时触发 | _event: Event_ | | blur | 输入框失去焦点时触发 | _event: Event_ | -| clear | 点击清除按钮后触发 | _event: Event_ | +| click-input | 点击输入区域时触发 | _event: MouseEvent_ | +| clear | 点击清除按钮后触发 | _event: MouseEvent_ | | cancel | 点击取消按钮时触发 | - | ### 方法