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