diff --git a/src/user_pages/withdrawal/index.tsx b/src/user_pages/withdrawal/index.tsx index 9a56417..f7dfb08 100644 --- a/src/user_pages/withdrawal/index.tsx +++ b/src/user_pages/withdrawal/index.tsx @@ -236,7 +236,9 @@ const Withdrawal: React.FC = () => { } } const handlePopupClick = (e) => { - e.stopPropagation(); + e.preventDefault() + e.stopPropagation() + e.nativeEvent.stopImmediatePropagation() inputRef.current!.focus(); }; return ( @@ -245,7 +247,7 @@ const Withdrawal: React.FC = () => { 提现金额 ¥ - + { !showTips && (Number(inputValue) !== 0) && ( @@ -308,7 +310,7 @@ const Withdrawal: React.FC = () => { )) } - item !== "").join("")} maxlength={6} onInput={handlePasswordInput} /> + item !== "").join("")} maxlength={6} onInput={handlePasswordInput} onBlur={() => {set_show_withdraw_popup(false)}} />