From 6f0877acf1230862bcc4a915fea2be007e1b8aab Mon Sep 17 00:00:00 2001 From: wxg0103 <727495428@qq.com> Date: Fri, 6 Dec 2024 11:30:50 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BC=81=E4=B8=9A=E5=BE=AE=E4=BF=A1?= =?UTF-8?q?=E6=89=AB=E7=A0=81=E4=BF=A1=E6=81=AF=E9=85=8D=E7=BD=AE=E9=94=99?= =?UTF-8?q?=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --bug=1050048 --user=王孝刚 【企业微信-扫码登录】配置信息错误 https://www.tapd.cn/57709429/s/1626175 (cherry picked from commit b87c214cb5c2e1b2b1e7e5bbc49657a490baab73) --- ui/src/views/authentication/component/EditModal.vue | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ui/src/views/authentication/component/EditModal.vue b/ui/src/views/authentication/component/EditModal.vue index 01259e6ab..2bc9fb279 100644 --- a/ui/src/views/authentication/component/EditModal.vue +++ b/ui/src/views/authentication/component/EditModal.vue @@ -120,6 +120,8 @@ const open = async (platform: Platform) => { let defaultCallbackUrl = window.location.origin switch (platform.key) { case 'wecom': + currentPlatform.config.callback_url = `${defaultCallbackUrl}/api/wecom` + break case 'dingtalk': if (currentPlatform.config.agent_id && currentPlatform.key === 'dingtalk') { currentPlatform.config.corp_id = currentPlatform.config.agent_id