Przeglądaj źródła

feat: 预览不加载APP全屏动画

TIANYONG 1 rok temu
rodzic
commit
3002d02808
1 zmienionych plików z 2 dodań i 2 usunięć
  1. 2 2
      instrument.html

+ 2 - 2
instrument.html

@@ -28,8 +28,8 @@
         instance.postMessage(JSON.stringify(data))
         instance.postMessage(JSON.stringify(data))
       }
       }
     }
     }
-    console.info(location.href)
-    if (!location.href.includes('iscurseplay=play')) {
+    console.info(66666666,location.href)
+    if (!location.href.includes('iscurseplay=play') && !location.href.includes('isPreView=true')) {
       _postMessage({
       _postMessage({
         api: 'cloudLoading',
         api: 'cloudLoading',
         content: {
         content: {