mirror of
https://github.com/1Panel-dev/MaxKB.git
synced 2025-12-25 17:22:55 +00:00
feat: remove URI encoding for redirect URI in wecomQrCode component
This commit is contained in:
parent
a3f7aabb69
commit
602ea9a971
|
|
@ -41,7 +41,7 @@ const init = async () => {
|
|||
agentId: props.config.agent_id
|
||||
}
|
||||
const lang = localStorage.getItem('MaxKB-locale') || getBrowserLang() || 'en-US'
|
||||
const redirectUri = encodeURIComponent(window.location.origin)
|
||||
const redirectUri = window.location.origin
|
||||
try {
|
||||
wwLogin.value = ww.createWWLoginPanel({
|
||||
el: '#wecom-qr',
|
||||
|
|
|
|||
|
|
@ -37,7 +37,7 @@ const init = async () => {
|
|||
agentId: props.config.agent_id
|
||||
}
|
||||
const lang = localStorage.getItem('MaxKB-locale') || getBrowserLang() || 'en-US'
|
||||
const redirectUri = encodeURIComponent(window.location.origin)
|
||||
const redirectUri = window.location.origin
|
||||
console.log('redirectUri', redirectUri)
|
||||
try {
|
||||
wwLogin.value = ww.createWWLoginPanel({
|
||||
|
|
|
|||
Loading…
Reference in New Issue