Просмотр исходного кода

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

TIANYONG 1 год назад
Родитель
Сommit
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: {