Browse Source

Merge branch 'iteration-20240410-music' into jenkins

lex 11 tháng trước cách đây
mục cha
commit
907fa234fe
1 tập tin đã thay đổi với 6 bổ sung2 xóa
  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({