优化昵称修改
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user