refactor: 优化三方应用回调地址

This commit is contained in:
wxg0103 2024-09-18 17:58:05 +08:00
parent 91391b0354
commit a1a5a165bd

View File

@ -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}`
}
}