From 46f79b491173d284a4900d19e7aecf7509481438 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期五, 21 一月 2022 17:21:25 +0800 Subject: [PATCH] 2022-01-21 --- src/views/login/loginform.jsx | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/src/views/login/loginform.jsx b/src/views/login/loginform.jsx index 8518aae..172aa29 100644 --- a/src/views/login/loginform.jsx +++ b/src/views/login/loginform.jsx @@ -2,6 +2,7 @@ import PropTypes from 'prop-types' import { is, fromJS } from 'immutable' import { Form, Icon, Input, Button, Modal, message } from 'antd' +import { UserOutlined } from '@ant-design/icons' import md5 from 'md5' import moment from 'moment' @@ -308,7 +309,7 @@ initialValue: this.state.username || '', })( <Input - prefix={<Icon type="user" style={{ color: 'rgba(0,0,0,.25)' }} />} + prefix={<UserOutlined style={{ color: 'rgba(0,0,0,.25)' }} />} placeholder={this.props.dict['login.username']} autoComplete="off" />, -- Gitblit v1.8.0