Browse Source

Merge branch 'feature/云机分辨率优化' of Software/android-cloud-H5 into develop

zengzhixiang 2 years ago
parent
commit
d68b295abe

+ 3 - 0
static/screenAndroid/WXtrialInterface.html

@@ -1795,6 +1795,9 @@
       //   centeredSlides: true,
       // });
       function setPhoneSize(config) {
+        if (config.id === currentPhoneSize.id) {
+          return;
+        }
         // config = Object.assign({}, config, {
         //   width: config.width,
         //   height: config.height,

+ 3 - 0
static/screenIos/WXtrialInterface.html

@@ -1597,6 +1597,9 @@
       //   centeredSlides: true,
       // });
       function setPhoneSize(config) {
+        if (config.id === currentPhoneSize.id) {
+          return;
+        }
         // config = Object.assign({}, config, {
         //   width: config.width,
         //   height: config.height,