Przeglądaj źródła

feature: 处理请求时间

Damon 7 miesięcy temu
rodzic
commit
448c66b127
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      pages/index/index.js

+ 1 - 1
pages/index/index.js

@@ -148,7 +148,7 @@ Page({
       that.data.intervalId = setInterval(async function () {
       that.data.intervalId = setInterval(async function () {
         isFirst = false;
         isFirst = false;
         that.compareList();
         that.compareList();
-      }, isFirst ? 5 * 1000 : 10 * 1000);
+      }, isFirst ? 10 * 1000 : 20 * 1000);
     }, 3 * 1000);
     }, 3 * 1000);
   },
   },