소스 검색

Merge branch 'iteration-20240410-music' into jenkins

lex 1 년 전
부모
커밋
907fa234fe
1개의 변경된 파일6개의 추가작업 그리고 2개의 파일을 삭제
  1. 6 2
      src/views/shop-mall/index.tsx

+ 6 - 2
src/views/shop-mall/index.tsx

@@ -113,9 +113,13 @@ export default defineComponent({
 
         if (state.sourcType === 'kt') {
           if (url.indexOf('?') !== -1) {
-            url += `&Authorization=${getAuth()}&source=kt`
+            url += `&Authorization=${encodeURI(
+              (getAuth() as any) || ''
+            )}&source=kt`
           } else {
-            url += `?Authorization=${getAuth()}&source=kt`
+            url += `?Authorization=${encodeURI(
+              (getAuth() as any) || ''
+            )}&source=kt`
           }
         }
         postMessage({