Procházet zdrojové kódy

Merge branch 'master' into jenkins

skyblued před 2 roky
rodič
revize
bdc7df05c3
1 změnil soubory, kde provedl 7 přidání a 0 odebrání
  1. 7 0
      src/views/coursewarePlay/index.tsx

+ 7 - 0
src/views/coursewarePlay/index.tsx

@@ -106,6 +106,13 @@ export default defineComponent({
           isVisibility: type
         }
       })
+      // 进入页面设置常量
+      postMessage({
+        api: 'keepScreenLongLight',
+        content: {
+          isOpenLight: type ? true : false
+        }
+      })
     }
     handleInit()
     onUnmounted(() => {