Explorar o código

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

TIANYONG hai 1 ano
pai
achega
3002d02808
Modificáronse 1 ficheiros con 2 adicións e 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: {