Переглянути джерело

修复看板设置时间无法保存问题

wuyunfeng 2 роки тому
батько
коміт
c2b509da5e

+ 1 - 0
src/views/calling-board/index.vue

@@ -440,6 +440,7 @@ export default {
     },
 
     updateBoard() {
+      this.boardConfig.staySeconds=[this.boardConfig.staySeconds[0],this.boardConfig.staySeconds[1],...this.boardTitles.map((p,index)=>Number(this.boardConfig.staySeconds[index+2]))]
       if (this.boardConfig.staySeconds.length !== this.boardTitles.length + 2) {
         this.$message.success(this.$t('board.statusTimeSetMsg'))
         return false

+ 2 - 2
src/views/custom-infoboard/screen-designer.vue

@@ -296,11 +296,11 @@
         justify-content: center;
         align-items: center;
         flex-direction: column;
-        width: 80%;
+        width: 100%;
 
     }
     .draggable-box .floor {
-        width: 1210px + 50px;
+        width: 800px + 50px;
         flex-shrink: 0;
         align-items: center;
     }