skyblued 2 years ago
parent
commit
17b311c406
1 changed files with 2 additions and 2 deletions
  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
         }
       })
     },