TIANYONG 6 maanden geleden
bovenliggende
commit
be009da78c
2 gewijzigde bestanden met toevoegingen van 20 en 14 verwijderingen
  1. 10 7
      dist/index.html
  2. 10 7
      dist/orchestra.html

+ 10 - 7
dist/index.html

@@ -31,13 +31,16 @@
         instance.postMessage(JSON.stringify(data))
       }
     }
-    _postMessage({
-      api: 'cloudLoading',
-      content: {
-        show: true,
-        type: 'fullscreen',
-      },
-    })
+    // 是否隐藏APP的loading动画
+    if (!window.location.href.includes('isHideLoading')) {
+      _postMessage({
+        api: 'cloudLoading',
+        content: {
+          show: true,
+          type: 'fullscreen',
+        },
+      })
+    }
   </script>
 
   <script src="https://unpkg.com/vconsole@latest/dist/vconsole.min.js"></script>

+ 10 - 7
dist/orchestra.html

@@ -31,13 +31,16 @@
         instance.postMessage(JSON.stringify(data))
       }
     }
-    _postMessage({
-      api: 'cloudLoading',
-      content: {
-        show: true,
-        type: 'fullscreen',
-      },
-    })
+    // 是否隐藏APP的loading动画
+    if (!window.location.href.includes('isHideLoading')) {
+      _postMessage({
+        api: 'cloudLoading',
+        content: {
+          show: true,
+          type: 'fullscreen',
+        },
+      })
+    }
   </script>
 
 <script src="https://unpkg.com/vconsole@latest/dist/vconsole.min.js"></script>