Sfoglia il codice sorgente

【看板整合】【刷新单位调整为秒】

sunyj 8 anni fa
parent
commit
5558e3bfce
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. 2 2
      kanban-console/src/main/webapp/resources/js/bundle.js

+ 2 - 2
kanban-console/src/main/webapp/resources/js/bundle.js

@@ -20347,7 +20347,7 @@ var Factory = function (_React$Component) {
                 if (refresh.current.enable) {
                     this.refreshThis = setInterval(function () {
                         this.getModelConfig(this.props.code[0] + '?templateCode=' + codes[this.index]);
-                    }.bind(this), Number(refresh.current.interval) || 10000);
+                    }.bind(this), refresh.current.interval * 1000 || 10000);
                 }
             }
             // 切换
@@ -20359,7 +20359,7 @@ var Factory = function (_React$Component) {
                         } else {
                             this.index++;
                         }
-                    }.bind(this), Number(refresh.next.interval) || 30000);
+                    }.bind(this), refresh.next.interval * 1000 || 30000);
                 }
             }
         }