Prechádzať zdrojové kódy

Merge branch 'iteration-20240410-music' into jenkins

lex 11 mesiacov pred
rodič
commit
907fa234fe
1 zmenil súbory, kde vykonal 6 pridanie a 2 odobranie
  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({