From 1418422bcf1e1323f92a2408b230587faea6fa1a Mon Sep 17 00:00:00 2001 From: tangjinzhou <415800467@qq.com> Date: Sat, 22 Jan 2022 11:09:49 +0800 Subject: [PATCH] fix: input focus style error, close #5188 --- components/input/Input.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/input/Input.tsx b/components/input/Input.tsx index 36211c7e0..9642ef16d 100644 --- a/components/input/Input.tsx +++ b/components/input/Input.tsx @@ -336,7 +336,7 @@ export default defineComponent({ inputType: 'input', value: fixControlledValue(stateValue.value), handleReset, - focused: focused.value && props.disabled, + focused: focused.value && !props.disabled, }; return (