diff --git a/frontend/packages/core/src/pages/Login.tsx b/frontend/packages/core/src/pages/Login.tsx index 0c1b5b62..d4b6415d 100644 --- a/frontend/packages/core/src/pages/Login.tsx +++ b/frontend/packages/core/src/pages/Login.tsx @@ -154,7 +154,7 @@ const Login: FC = () => { // 打开飞书授权页面 const openFeishuLogin = () => { const href = window.location.origin + window.location.pathname - const authUrl = `https://accounts.feishu.cn/open-apis/authen/v1/authorize?client_id=${feishuAppId}&redirect_uri=${encodeURIComponent(href)}` + const authUrl = `https://accounts.feishu.cn/open-apis/authen/v1/authorize?client_id=${feishuAppId}&redirect_uri=${href}` localStorage.setItem('feishuCallbackUrl', href) window.location.href = authUrl }