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

Merge branch 'online' into jenkins

lex 2 лет назад
Родитель
Сommit
e2416cf871
2 измененных файлов с 13 добавлено и 13 удалено
  1. 6 6
      src/views/coursewarePlay/index.tsx
  2. 7 7
      src/views/exercise-after-class/index.tsx

+ 6 - 6
src/views/coursewarePlay/index.tsx

@@ -120,12 +120,12 @@ export default defineComponent({
       //   }
       // })
       // 安卓的状态栏
-      // postMessage({
-      //   api: 'setStatusBarVisibility',
-      //   content: {
-      //     isVisibility: type
-      //   }
-      // })
+      postMessage({
+        api: 'setStatusBarVisibility',
+        content: {
+          isVisibility: type
+        }
+      })
       // 进入页面设置常量
       postMessage({
         api: 'keepScreenLongLight',

+ 7 - 7
src/views/exercise-after-class/index.tsx

@@ -68,13 +68,13 @@ export default defineComponent({
       //     status: type
       //   }
       // })
-      // // 安卓的状态栏
-      // postMessage({
-      //   api: 'setStatusBarVisibility',
-      //   content: {
-      //     isVisibility: type
-      //   }
-      // })
+      // 安卓的状态栏
+      postMessage({
+        api: 'setStatusBarVisibility',
+        content: {
+          isVisibility: type
+        }
+      })
     }
     handleInit()
     onUnmounted(() => {