fix: password autocomplete=new-password

This commit is contained in:
chenos 2021-01-07 23:42:31 +08:00
parent 1dbfe14379
commit 2096ee84c4

View File

@ -18,7 +18,7 @@ export const Password = connect({
return ( return (
<span className={className}> <span className={className}>
<Input.Password <Input.Password
autoComplete={'off'} autoComplete={'new-password'}
{...others} {...others}
value={value} value={value}
onChange={(e) => { onChange={(e) => {