From 1455da647cde5460cad0085744a116023449cb0e Mon Sep 17 00:00:00 2001 From: dexterBo <2577043677@qq.com> Date: Tue, 15 Aug 2023 14:48:03 +0800 Subject: [PATCH] =?UTF-8?q?fix(select-input):=20=E5=A4=9A=E9=80=89?= =?UTF-8?q?=E6=83=85=E5=86=B5=E4=B8=8B=E6=8C=89=E4=B8=8BEnter=E9=94=AE?= =?UTF-8?q?=E5=90=8E=E8=A7=A6=E5=8F=91=E4=BA=86focus=E4=BA=8B=E4=BB=B6?= =?UTF-8?q?=E8=80=8C=E4=B8=8D=E6=98=AFenter=E4=BA=8B=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit fix #2525 --- src/select-input/useMultiple.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/select-input/useMultiple.tsx b/src/select-input/useMultiple.tsx index bf319a0bc..cd2285da7 100644 --- a/src/select-input/useMultiple.tsx +++ b/src/select-input/useMultiple.tsx @@ -73,7 +73,7 @@ export default function useMultiple(props: TdSelectInputProps, context: SetupCon const onEnter: TagInputProps['onEnter'] = (val, ctx) => { const params = { ...ctx, tagInputValue: val }; props.onEnter?.(props.value, params); - context.emit('focus', props.value, params); + context.emit('enter', props.value, params); }; // eslint-disable-next-line @typescript-eslint/no-unused-vars