Browse Source

电视墙1v4

qinhouyu 1 year ago
parent
commit
1c1f3e24eb
2 changed files with 3 additions and 3 deletions
  1. 2 2
      src/components/TVWall.vue
  2. 1 1
      src/components/TVWalls.vue

+ 2 - 2
src/components/TVWall.vue

@@ -377,7 +377,7 @@ export default {
           'ctrlCode': 'ctrl1',
           'ctrlProperty': {
             'displayMode': 1,
-            'splitNum': 1,
+            'splitNum': (array1.length == 1 ? 1 : 4),
             'channelList': [
               {
                 'channelId': ''
@@ -508,7 +508,7 @@ export default {
           'ctrlCode': 'ctrl1',
           'ctrlProperty': {
             'displayMode': 1,
-            'splitNum': 1,
+            "splitNum": (bfArray.length == 1 ? 1 : 4),
             'channelList': [
               {
                 'channelId': ''

+ 1 - 1
src/components/TVWalls.vue

@@ -340,7 +340,7 @@ export default {
           'ctrlCode': 'ctrl1',
           'ctrlProperty': {
             'displayMode': 1,
-            'splitNum': 1,
+            'splitNum': (this.autoList.length == 1 ? 1 : 4),
             'channelList': [
               {
                 'channelId': ''