Explorar el Código

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

TIANYONG hace 1 año
padre
commit
3002d02808
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      instrument.html

+ 2 - 2
instrument.html

@@ -28,8 +28,8 @@
         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({
         api: 'cloudLoading',
         content: {