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