修复钱包相关功能

This commit is contained in:
张成
2025-10-18 17:24:39 +08:00
parent 0737b12b0e
commit de52dc4762
4 changed files with 35 additions and 11 deletions

View File

@@ -62,7 +62,7 @@ const SetTransactionPassword: React.FC = () => {
const { new_password, confirm_password, sms_code } = formData;
if (handleType === "set") {
setValid(
!sms_code && new_password.length === 6 && confirm_password.length === 6
!!sms_code && new_password.length === 6 && confirm_password.length === 6
);
} else {
setValid(new_password.length === 6 && confirm_password.length === 6);