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

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

@@ -650,6 +650,10 @@ export default {
             if (mainstrem_) {
               const newdatas = [];
               datas.push(newdata_);
+              const sharestrem_ = _.find(this.stremlist, { type: 'share' });
+              if (sharestrem_) {
+                datas.push(sharestrem_);
+              }
               this.$set(this, `stremlist`, newdatas);
             } else {
               this.stremlist.push(newdata_);