skyblued 2 年 前
コミット
17b311c406
1 ファイル変更2 行追加2 行削除
  1. 2 2
      src/teacher/share-page/share-live-room/index.tsx

+ 2 - 2
src/teacher/share-page/share-live-room/index.tsx

@@ -28,7 +28,7 @@ export default defineComponent({
     }
   },
   async mounted() {
-    this.getData()
+    await this.getData()
     this.openApp()
   },
   methods: {
@@ -84,7 +84,7 @@ export default defineComponent({
         api: 'joinLiveRoom',
         content: {
           roomId: this.liveRoom.roomUid,
-          teacherId: this.liveRoom.userId
+          teacherId: this.liveRoom.speakerId
         }
       })
     },