Przeglądaj źródła

页面BUG修复

Zhouzhendong 4 lat temu
rodzic
commit
f9f9b8ee44
1 zmienionych plików z 4 dodań i 1 usunięć
  1. 4 1
      resources/views/station/monitor/visual.blade.php

+ 4 - 1
resources/views/station/monitor/visual.blade.php

@@ -62,7 +62,10 @@
             methods:{
                 loadData(row,index){
                     let size = this.rowSize*this.columnSize;
-                    if (row%2!==0)size *= 2;
+                    if (row%2!==0){
+                        size *= 2;
+                        row += 1;
+                    }
                     row = row/2;
                     let len = row.toString().length;
                     let before = "00";