import React from 'react'; import { UserCircleIcon } from 'tdesign-icons-react'; import { Avatar, Button, Cell, CellGroup, Input, Popup } from 'tdesign-mobile-react'; import styles from './index.module.less'; export default function render() { const { avatar, nickname, isLoggedIn, refreshing, mobile, mobileCount, showDrawer, oakDirty } = this.state; const mobileText = mobileCount > 1 ? `${mobileCount}条手机号` : ( mobile || '未设置'); return (
{avatar ? ( ) : ( } size="48px" /> )} {nickname || '未设置'} {isLoggedIn ? ( ) : ( )}
this.goMyMobile()} /> { this.setState({ showDrawer: false }); this.resetUpdateData(); }} >
{ this.setUpdateData('0.user.nickname', value); }} />
); }