Sfoglia il codice sorgente

feature: 处理请求时间

Damon 7 mesi fa
parent
commit
448c66b127
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      pages/index/index.js

+ 1 - 1
pages/index/index.js

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