From cea85e0648a02f6b71d9da5b3c160e5934753393 Mon Sep 17 00:00:00 2001 From: fit2cloud-chenyw Date: Mon, 26 Jan 2026 09:36:50 +0800 Subject: [PATCH] style: Optimization of WeCom Scan-to-Login QR Code Interface --- frontend/src/views/login/xpack/Handler.vue | 2 +- frontend/src/views/login/xpack/WecomQr.vue | 21 +++++++++++++++++---- 2 files changed, 18 insertions(+), 5 deletions(-) diff --git a/frontend/src/views/login/xpack/Handler.vue b/frontend/src/views/login/xpack/Handler.vue index 06f824d1..b14fba55 100644 --- a/frontend/src/views/login/xpack/Handler.vue +++ b/frontend/src/views/login/xpack/Handler.vue @@ -308,7 +308,7 @@ const third_party_authentication = (state?: string) => { return null } const urlParams = getUrlParams() - const urlFlag = findKey && findKey > 6 ? 'platform' : 'authentication' + const urlFlag = findKey && findKey > 5 ? 'platform' : 'authentication' const ssoUrl = `/system/${urlFlag}/sso/${findKey}` if (!urlParams?.redirect_uri) { urlParams['redirect_uri'] = encodeURIComponent(getSQLBotAddr()) diff --git a/frontend/src/views/login/xpack/WecomQr.vue b/frontend/src/views/login/xpack/WecomQr.vue index a58abbd8..121acbe2 100644 --- a/frontend/src/views/login/xpack/WecomQr.vue +++ b/frontend/src/views/login/xpack/WecomQr.vue @@ -1,5 +1,7 @@