jihuaqiang 2 ماه پیش
والد
کامیت
fdfc46c8ac
1فایلهای تغییر یافته به همراه5 افزوده شده و 5 حذف شده
  1. 5 5
      src/views/login/login.tsx

+ 5 - 5
src/views/login/login.tsx

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