From dde62ead1837085e6bcbfcd0c1e693b92cb84b06 Mon Sep 17 00:00:00 2001 From: huhuanming Date: Fri, 27 Sep 2024 12:03:37 +0800 Subject: [PATCH] Update index.tsx --- packages/components/src/forms/Input/index.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/components/src/forms/Input/index.tsx b/packages/components/src/forms/Input/index.tsx index 534e2bd82e2..d412e284d85 100644 --- a/packages/components/src/forms/Input/index.tsx +++ b/packages/components/src/forms/Input/index.tsx @@ -298,7 +298,9 @@ function BaseInput( editable={editable} {...readOnlyStyle} {...props} - onPaste={platformEnv.isNative ? onPaste : undefined} + onPaste={() => { + alert('111'); + }} onChangeText={ platformEnv.isNativeIOS && keyboardType === 'decimal-pad' ? onNumberPadChangeText