liushengqiang 1 year ago
parent
commit
60375c8fa6
1 changed files with 9 additions and 3 deletions
  1. 9 3
      src/views/courseware-list/index.tsx

+ 9 - 3
src/views/courseware-list/index.tsx

@@ -143,10 +143,9 @@ export default defineComponent({
         });
       }
       data.loading = false;
-      setTimeout(()=>{
+      setTimeout(() => {
         isShowGuide.value = true;
-      },100)
-
+      }, 100);
     };
     const getFavoriteList = async () => {
       data.loading = true;
@@ -217,6 +216,13 @@ export default defineComponent({
     onMounted(() => {
       getTanentList();
       getData();
+      // 安卓的状态栏
+      postMessage({
+        api: 'setStatusBarVisibility',
+        content: {
+          isVisibility: 0
+        }
+      });
     });
 
     const handleFavorite = async (item: any) => {