瀏覽代碼

更改首页数据自动刷新频率

cfort 2 年之前
父節點
當前提交
c621853c78
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/views/system/dashboard/components/new-home.vue

+ 1 - 1
src/views/system/dashboard/components/new-home.vue

@@ -329,7 +329,7 @@
             this.timer = setInterval(() => {
                 // this.getMessage()
                 this.getData(this.activeTab)
-            }, 180000)
+            }, 10 * 1000)
         },
         beforeDestroy() {
             clearInterval(this.timer)