diff --git a/web/client/src/sections/auth/containers/login.js b/web/client/src/sections/auth/containers/login.js index f26a635..59a3c1c 100644 --- a/web/client/src/sections/auth/containers/login.js +++ b/web/client/src/sections/auth/containers/login.js @@ -6,10 +6,11 @@ import SHA1 from 'crypto-js/sha1'; import Hex from 'crypto-js/enc-hex'; import { ApiTable } from '$utils' import { Request } from '@peace/utils' -import { Button, Input, Form, Row, Col, message, Tabs } from 'antd'; +import { Button, Input, Form, Row, Col, message, Tabs, Tooltip } from 'antd'; import { login, LOGIN_ERROR } from '../actions/auth'; import { ExclamationCircleOutlined } from '@ant-design/icons'; import { Uploads } from '$components' +import { LockOutlined, UserOutlined } from '@ant-design/icons'; import '../style.less'; const FormItem = Form.Item; @@ -62,10 +63,6 @@ const Login = props => { } }, [codSending]) - const doLogin = () => { - - - } return ( @@ -99,7 +96,6 @@ const Login = props => {
{ - // console.log(r); form.validateFields().then(r => { dispatch(login({ username: r.username, password: r.password })); }) @@ -112,15 +108,16 @@ const Login = props => { }} > - - - + + } placeholder="用户名" /> - - + + } placeholder="密码" /> - + + 忘记密码 +