File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
chat/user-login/scanCompinents Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ const init = async () => {
4141 agentId: props .config .agent_id
4242 }
4343 const lang = localStorage .getItem (' MaxKB-locale' ) || getBrowserLang () || ' en-US'
44- const redirectUri = encodeURIComponent ( window .location .origin )
44+ const redirectUri = window .location .origin
4545 try {
4646 wwLogin .value = ww .createWWLoginPanel ({
4747 el: ' #wecom-qr' ,
Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ const init = async () => {
3737 agentId: props .config .agent_id
3838 }
3939 const lang = localStorage .getItem (' MaxKB-locale' ) || getBrowserLang () || ' en-US'
40- const redirectUri = encodeURIComponent ( window .location .origin )
40+ const redirectUri = window .location .origin
4141 console .log (' redirectUri' , redirectUri )
4242 try {
4343 wwLogin .value = ww .createWWLoginPanel ({
You can’t perform that action at this time.
0 commit comments