feat: update WeCom callback URL configuration in EditModal and remove WeCom SDK dependency

This commit is contained in:
wxg0103 2025-12-17 10:09:37 +08:00
parent 337124ca82
commit 59117a068a
3 changed files with 2 additions and 3 deletions

View File

@ -24,7 +24,6 @@
"@logicflow/extension": "^1.2.27",
"@vavt/cm-extension": "^1.9.1",
"@vueuse/core": "^13.3.0",
"@wecom/jssdk": "^2.3.3",
"axios": "^1.8.4",
"cropperjs": "^1.6.2",
"dingtalk-jsapi": "^3.1.0",

View File

@ -161,7 +161,7 @@ const open = async (platform: Platform) => {
currentPlatform.config.agent_id = currentPlatform.config.app_key
delete currentPlatform.config.app_key
}
currentPlatform.config.callback_url = window.location.origin
currentPlatform.config.callback_url = `${defaultCallbackUrl}/auth/wecom`
break
case 'dingtalk':
if (currentPlatform.config.agent_id) {

View File

@ -161,7 +161,7 @@ const open = async (platform: Platform) => {
currentPlatform.config.agent_id = currentPlatform.config.app_key
delete currentPlatform.config.app_key
}
currentPlatform.config.callback_url = window.location.origin
currentPlatform.config.callback_url = `${defaultCallbackUrl}/auth/wecom`
break
case 'dingtalk':
if (currentPlatform.config.agent_id) {