From 6b761353747091ed536c5591aa2b9a165e28168b Mon Sep 17 00:00:00 2001 From: root Date: Sat, 28 Feb 2026 10:53:17 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E7=A7=BB=E9=99=A4=E8=AF=AF=E5=AF=BC?= =?UTF-8?q?=E6=80=A7=E7=9A=84'=E9=A3=9E=E4=B9=A6=E5=BA=94=E7=94=A8?= =?UTF-8?q?=E9=85=8D=E7=BD=AE=E9=94=99=E8=AF=AF'=E6=8F=90=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 免登功能实际正常,但显示误导性错误 - 移除不必要的错误提示,改善用户体验 --- frontend/src/pages/login/index.tsx | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/frontend/src/pages/login/index.tsx b/frontend/src/pages/login/index.tsx index d64e006..a69b66b 100644 --- a/frontend/src/pages/login/index.tsx +++ b/frontend/src/pages/login/index.tsx @@ -127,12 +127,11 @@ export default function Login() { } if (!appId) { - setLoading(false) - Toast.show('飞书应用配置错误') - return + console.error('appId 获取失败,但继续尝试免登') + // 不显示错误提示,继续尝试 } - performFeishuLogin(companyParam, appId) + performFeishuLogin(companyParam, appId || undefined) } // 执行飞书免登