@ -49,10 +49,10 @@ const UserModal = (props) => {
label="用户名"
required
fieldProps={{
maxLength: 11,
maxLength: 50,
}}
getValueFromEvent={(event) => {
return event.target.value.replace(/\D/g, '')
return event.target.value.replace(/\W/g, '')
placeholder="请输入用户名"
rules={[