Browse Source

Merge branch 'hotfix/云机分辨率/修复节流判断错误' of Software/android-cloud-H5 into develop

zengzhixiang 2 years ago
parent
commit
65f200edbe

+ 1 - 1
static/screenAndroid/WXtrialInterface.html

@@ -1801,7 +1801,7 @@
           return;
         }
 
-        if (Date.now() > lastSetPhone + 1000 * 5) {
+        if (Date.now() <= lastSetPhone + 1000 * 5) {
           throw new Error('请勿频繁操作');
         }
         lastSetPhone = Date.now();

+ 1 - 1
static/screenIos/WXtrialInterface.html

@@ -1603,7 +1603,7 @@
           return;
         }
 
-        if (Date.now() > lastSetPhone + 1000 * 5) {
+        if (Date.now() <= lastSetPhone + 1000 * 5) {
           throw new Error('请勿频繁操作');
         }
         lastSetPhone = Date.now();