浏览代码

bug fix: GeoCheckScene.js

zhanghe 6 年之前
父节点
当前提交
d3f6d3fb62
共有 1 个文件被更改,包括 2 次插入2 次删除
  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);
     });
   }