Browse Source

feature: 处理请求时间

Damon 7 tháng trước cách đây
mục cha
commit
448c66b127
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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);
   },