Skip to content

Commit b87c214

Browse files
committed
fix: 企业微信扫码信息配置错误
--bug=1050048 --user=王孝刚 【企业微信-扫码登录】配置信息错误 https://www.tapd.cn/57709429/s/1626175
1 parent 40a1070 commit b87c214

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

ui/src/views/authentication/component/EditModal.vue

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,8 @@ const open = async (platform: Platform) => {
120120
let defaultCallbackUrl = window.location.origin
121121
switch (platform.key) {
122122
case 'wecom':
123+
currentPlatform.config.callback_url = `${defaultCallbackUrl}/api/wecom`
124+
break
123125
case 'dingtalk':
124126
if (currentPlatform.config.agent_id && currentPlatform.key === 'dingtalk') {
125127
currentPlatform.config.corp_id = currentPlatform.config.agent_id

0 commit comments

Comments
 (0)