Browse Source

解决切换屏幕信号源消失的bug,但是会出现报错,和同时在信号源列表和大屏播放视频报的错一样,待解决

liuwei 4 years ago
parent
commit
41a7604db3
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/renderer/components/BigShow.vue

+ 1 - 1
src/renderer/components/BigShow.vue

@@ -211,7 +211,7 @@
                         // 根据拼接屏数量得到分屏状态
                         obj[item.ID].splitStatus = Math.floor(Math.sqrt(num) - 1)
                     })
-                    this.$store.dispatch('updateBigscreenObj', obj)
+                    this.$store.dispatch('updateBigscreenObj', {...obj,...bigscreenObj})
 
                     // 获取视频播放的配置对象
                     const preSingleList = await reqPreviewSourceList()