Преглед на файлове

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

TIANYONG преди 1 година
родител
ревизия
3002d02808
променени са 1 файла, в които са добавени 2 реда и са изтрити 2 реда
  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: {