Explorar o código

Merge branch 'master' into jenkins

skyblued %!s(int64=2) %!d(string=hai) anos
pai
achega
bdc7df05c3
Modificáronse 1 ficheiros con 7 adicións e 0 borrados
  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(() => {