feat: remove URI encoding for redirect URI in wecomQrCode component
parent
336a4dd1a6
commit
f5a7cdd010
|
|
@ -41,7 +41,7 @@ const init = async () => {
|
||||||
agentId: props.config.agent_id
|
agentId: props.config.agent_id
|
||||||
}
|
}
|
||||||
const lang = localStorage.getItem('MaxKB-locale') || getBrowserLang() || 'en-US'
|
const lang = localStorage.getItem('MaxKB-locale') || getBrowserLang() || 'en-US'
|
||||||
const redirectUri = encodeURIComponent(window.location.origin)
|
const redirectUri = window.location.origin
|
||||||
try {
|
try {
|
||||||
wwLogin.value = ww.createWWLoginPanel({
|
wwLogin.value = ww.createWWLoginPanel({
|
||||||
el: '#wecom-qr',
|
el: '#wecom-qr',
|
||||||
|
|
|
||||||
|
|
@ -37,7 +37,7 @@ const init = async () => {
|
||||||
agentId: props.config.agent_id
|
agentId: props.config.agent_id
|
||||||
}
|
}
|
||||||
const lang = localStorage.getItem('MaxKB-locale') || getBrowserLang() || 'en-US'
|
const lang = localStorage.getItem('MaxKB-locale') || getBrowserLang() || 'en-US'
|
||||||
const redirectUri = encodeURIComponent(window.location.origin)
|
const redirectUri = window.location.origin
|
||||||
console.log('redirectUri', redirectUri)
|
console.log('redirectUri', redirectUri)
|
||||||
try {
|
try {
|
||||||
wwLogin.value = ww.createWWLoginPanel({
|
wwLogin.value = ww.createWWLoginPanel({
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue