Prechádzať zdrojové kódy

feature: 搜索间隔时间为10秒

Damon 7 mesiacov pred
rodič
commit
e3bed9414a
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  1. 1 1
      pages/index/index.js

+ 1 - 1
pages/index/index.js

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