mirror of
https://github.com/PlayEdu/backend
synced 2025-07-20 00:19:44 +08:00
登录页面样式重构
This commit is contained in:
parent
f922218389
commit
35051ac5e8
@ -33,15 +33,15 @@ export const Login: React.FC = () => {
|
|||||||
|
|
||||||
const loginSubmit = (e: any) => {
|
const loginSubmit = (e: any) => {
|
||||||
if (!email) {
|
if (!email) {
|
||||||
message.error("请输入账号");
|
message.error("请输入管理员邮箱账号");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (!password) {
|
if (!password) {
|
||||||
message.error("请输入密码号");
|
message.error("请输入密码");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (!captcha_val) {
|
if (!captcha_val) {
|
||||||
message.error("请输入图片验证码");
|
message.error("请输入图形验证码");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (loading) {
|
if (loading) {
|
||||||
@ -99,7 +99,7 @@ export const Login: React.FC = () => {
|
|||||||
setEmail(e.target.value);
|
setEmail(e.target.value);
|
||||||
}}
|
}}
|
||||||
style={{ width: 400, height: 54 }}
|
style={{ width: 400, height: 54 }}
|
||||||
placeholder="请输入账号"
|
placeholder="请输入管理员邮箱账号"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
<div className="d-flex mt-50">
|
<div className="d-flex mt-50">
|
||||||
@ -116,7 +116,7 @@ export const Login: React.FC = () => {
|
|||||||
<Input
|
<Input
|
||||||
value={captcha_val}
|
value={captcha_val}
|
||||||
style={{ width: 260, height: 54 }}
|
style={{ width: 260, height: 54 }}
|
||||||
placeholder="请输入验证码"
|
placeholder="请输入图形验证码"
|
||||||
onChange={(e) => {
|
onChange={(e) => {
|
||||||
setCaptcha_val(e.target.value);
|
setCaptcha_val(e.target.value);
|
||||||
}}
|
}}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user