mirror of
https://github.com/1Panel-dev/MaxKB.git
synced 2025-12-26 01:33:05 +00:00
refactor: 优化三方应用回调地址
This commit is contained in:
parent
91391b0354
commit
a1a5a165bd
|
|
@ -249,7 +249,7 @@ const open = async (id: string, type: 'wechat' | 'dingtalk' | 'wecom' | 'feishu'
|
|||
MsgError('加载配置失败,请检查输入或稍后再试')
|
||||
} finally {
|
||||
loading.value = false
|
||||
form[configType.value].callback_url = `${window.location.origin}/${type}/${id}`
|
||||
form[configType.value].callback_url = `${window.location.origin}/api/${type}/${id}`
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue