Pārlūkot izejas kodu

bug fix: GeoCheckScene.js

zhanghe 6 gadi atpakaļ
vecāks
revīzija
d3f6d3fb62
1 mainītis faili ar 2 papildinājumiem un 2 dzēšanām
  1. 2 2
      src/stage/index/scene/GeoCheckScene.js

+ 2 - 2
src/stage/index/scene/GeoCheckScene.js

@@ -32,7 +32,7 @@ class GeoCheckScene extends scene {
             window.clearInterval(this.timer);
           }
           if (this.moye.focusList.indexOf('WaterfallIndexScene') !== -1) {
-            this.hideScene({success: true}, 'WaterfallIndexScene');
+            this.hideScene({}, 'WaterfallIndexScene');
           }
           else {
             this.showScene(require('./WaterfallIndexScene.js'), {});
@@ -72,7 +72,7 @@ class GeoCheckScene extends scene {
       document.querySelector('.qr-invalid').style.display = "none";
       document.querySelector('.click-alert').style.display = "none";
       //定时轮询扫码结果
-      this.timer = window.setInterval(this.queryQRCodeState.bind(this), 1500);
+      this.timer = window.setInterval(this.queryQRCodeState.bind(this), 1000);
     });
   }