Jelajahi Sumber

Merge branch 'master' of http://git.cc-lotus.info/live-platform/live-cms

reloaded 4 tahun lalu
induk
melakukan
deff76eccb
1 mengubah file dengan 3 tambahan dan 1 penghapusan
  1. 3 1
      src/layout/live/detailInfo.vue

+ 3 - 1
src/layout/live/detailInfo.vue

@@ -107,6 +107,7 @@ export default {
       content: '',
       dataList: [],
       isrecord: false,
+      shareid: '',
     };
   },
   created() {
@@ -124,7 +125,7 @@ export default {
     async recordclick() {
       console.log(this.isrecord);
       if (this.isrecord) {
-        const info = { roomid: this.id, roomname: this.name };
+        const info = { roomid: this.id, roomname: this.name, shareid: this.shareid };
         let res = await this.startrecord({ ...info });
       } else {
         const info = { roomid: this.id, roomname: this.name };
@@ -213,6 +214,7 @@ export default {
     },
     async shareon() {
       const shareId = 'share-' + this.userId_;
+      this.shareid = shareId;
       const res = await this.gensignFetch({ userid: shareId });
       if (this.$checkRes(res)) {
         const shareClient = TRTC.createClient({