瀏覽代碼

Update transfer.tsx

lex 2 年之前
父節點
當前提交
d31cf61032
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      src/student/down-load/transfer.tsx

+ 2 - 2
src/student/down-load/transfer.tsx

@@ -35,8 +35,8 @@ export default defineComponent({
     } as any
     // 唤起直播间
     if (params.liveRoomId) {
-      query.params = {} as any
-      query.params.liveRoomId = params.liveRoomId
+      query.params = '' as any
+      query.params = JSON.stringify({ liveRoomId: params.liveRoomId })
     }
     const iosStr = encodeURIComponent(JSON.stringify(query))
     if (/(iPhone|iPad|iPod|iOS)/i.test(navigator.userAgent)) {