From 34342ad0f42246da20353e1f8ebbc8c4dff8bce2 Mon Sep 17 00:00:00 2001 From: wenlele Date: Tue, 17 Jan 2023 18:39:24 +0800 Subject: [PATCH] =?UTF-8?q?=E7=99=BB=E5=BD=95=E9=A1=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/sections/auth/containers/login.js | 21 ++++++++----------- 1 file changed, 9 insertions(+), 12 deletions(-) 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="密码" /> - + + 忘记密码 +