feat: encode redirect URI in wecomQrCode component for improved URL handling

v3.2
wxg0103 2025-10-10 16:57:53 +08:00
parent 446a450c9d
commit a5c2c6e0d6
1 changed files with 1 additions and 1 deletions

View File

@ -41,7 +41,7 @@ const init = async () => {
agentId: props.config.agent_id
}
const lang = localStorage.getItem('MaxKB-locale') || getBrowserLang() || 'en-US'
const redirectUri = window.location.origin
const redirectUri = encodeURIComponent(window.location.origin)
try {
wwLogin.value = ww.createWWLoginPanel({
el: '#wecom-qr',