优化昵称修改

This commit is contained in:
2025-12-02 17:25:54 +08:00
parent 4299d4a8df
commit bcd3e78cdc
2 changed files with 3 additions and 2 deletions

View File

@@ -32,7 +32,7 @@ const EditModal: React.FC<EditModalProps> = ({
const [value, setValue] = useState(initialValue);
const [isValid, setIsValid] = useState(true);
const [isIllegal, setIsIllegal] = useState(false);
const [hasIllegal, setHasIllegal] = useState(true);
const [hasIllegal, setHasIllegal] = useState(false);
const [canEdit, setCanEdit] = useState(true);
// 使用全局键盘状态
const {
@@ -169,6 +169,7 @@ const EditModal: React.FC<EditModalProps> = ({
confirmType="done"
// autoFocus={true}
onConfirm={handle_save}
onBlur={() => {}}
/>
<View className="char_count">
<Text