|
@@ -22,7 +22,7 @@ const LoginPage: React.FC = () => {
|
|
// Redirect will be handled by the login function
|
|
// Redirect will be handled by the login function
|
|
}
|
|
}
|
|
} catch (error) {
|
|
} catch (error) {
|
|
- message.error("登录失败,请重试");
|
|
|
|
|
|
+ message.error((error as Error)?.message || "登录失败,请重试");
|
|
} finally {
|
|
} finally {
|
|
setLoading(false);
|
|
setLoading(false);
|
|
}
|
|
}
|
|
@@ -135,7 +135,7 @@ const LoginPage: React.FC = () => {
|
|
placeholder="手机号"
|
|
placeholder="手机号"
|
|
className={
|
|
className={
|
|
styles.phoneInput +
|
|
styles.phoneInput +
|
|
- " border-b-[1px] border-b-[#160a19]"
|
|
|
|
|
|
+ " border-b-[1px] border-b-gray-400"
|
|
}
|
|
}
|
|
/>
|
|
/>
|
|
</Form.Item>
|
|
</Form.Item>
|
|
@@ -154,7 +154,7 @@ const LoginPage: React.FC = () => {
|
|
variant="borderless"
|
|
variant="borderless"
|
|
placeholder="验证码"
|
|
placeholder="验证码"
|
|
className={
|
|
className={
|
|
- styles.codeInput + ' rounded-none border-b-[1px] border-b-[#160a19]'
|
|
|
|
|
|
+ styles.codeInput + ' !rounded-none !border-b-[1px] !border-b-gray-400'
|
|
}
|
|
}
|
|
/>
|
|
/>
|
|
<Button
|
|
<Button
|
|
@@ -210,7 +210,7 @@ const LoginPage: React.FC = () => {
|
|
<Input
|
|
<Input
|
|
placeholder="账号"
|
|
placeholder="账号"
|
|
variant="borderless"
|
|
variant="borderless"
|
|
- className="rounded-none border-b-[1px] border-b-[#160a19]"
|
|
|
|
|
|
+ className="!rounded-none !border-b-[1px] !border-b-gray-400"
|
|
/>
|
|
/>
|
|
</Form.Item>
|
|
</Form.Item>
|
|
|
|
|
|
@@ -226,7 +226,7 @@ const LoginPage: React.FC = () => {
|
|
<Input.Password
|
|
<Input.Password
|
|
placeholder="密码"
|
|
placeholder="密码"
|
|
variant="borderless"
|
|
variant="borderless"
|
|
- className="rounded-none border-b-[1px] border-b-[#160a19]"
|
|
|
|
|
|
+ className="!rounded-none !border-b-[1px] !border-b-gray-400"
|
|
/>
|
|
/>
|
|
</Form.Item>
|
|
</Form.Item>
|
|
|
|
|