liuyu 4 éve
szülő
commit
b8ea44e287
1 módosított fájl, 2 hozzáadás és 0 törlés
  1. 2 0
      src/views/live/roomDetail.vue

+ 2 - 0
src/views/live/roomDetail.vue

@@ -457,6 +457,8 @@ export default {
         const id_ = 'othe-video-' + this.index_;
         // const newdiv = '<div id="' + id_ + '" style="height: 70px, width: 20%" class="video-box col-div othe-video-left"></div>';
         // otheplaydiv.appendChild(newdiv);
+        const newdata = { swichuserid: this.userId_, swichindex: this.index_ };
+        this.swichusers.push(newdata);
         console.log(id_);
         this.localStream_.play(id_);
       }