lex %!s(int64=2) %!d(string=hai) anos
pai
achega
d44309f5fc
Modificáronse 1 ficheiros con 4 adicións e 2 borrados
  1. 4 2
      src/student/home/index.tsx

+ 4 - 2
src/student/home/index.tsx

@@ -52,8 +52,8 @@ export default defineComponent({
       downloadStatus: false
     }
   },
-  mounted() {
-    this.init()
+  async mounted() {
+    await this.init()
 
     event.on('downloadApp', async () => {
       // 管乐团里面,获取是否已安装酷乐秀
@@ -96,6 +96,8 @@ export default defineComponent({
         }
       })
     })
+
+    postMessage({ api: 'setBarStatus', content: { status: 0 } })
   },
   unmounted() {
     removeListenerMessage('webViewOnResume', () => {