File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ export default defineComponent({
12
12
props : baseInputProps ( ) ,
13
13
setup ( props , { slots, attrs } ) {
14
14
const containerRef = ref ( ) ;
15
- const onInputMouseDown : MouseEventHandler = e => {
15
+ const onInputClick : MouseEventHandler = e => {
16
16
if ( containerRef . value ?. contains ( e . target as Element ) ) {
17
17
const { triggerFocus } = props ;
18
18
triggerFocus ?.( ) ;
@@ -104,7 +104,7 @@ export default defineComponent({
104
104
class = { affixWrapperCls }
105
105
style = { attrs . style as CSSProperties }
106
106
hidden = { ! hasAddon ( { addonAfter, addonBefore } ) && hidden }
107
- onMousedown = { onInputMouseDown }
107
+ onClick = { onInputClick }
108
108
ref = { containerRef }
109
109
>
110
110
{ prefix && < span class = { `${ prefixCls } -prefix` } > { prefix } </ span > }
You can’t perform that action at this time.
0 commit comments