浏览代码

默认去掉头部显示

lex 1 年之前
父节点
当前提交
678c062abe
共有 3 个文件被更改,包括 4 次插入1 次删除
  1. 2 0
      src/student/main.ts
  2. 1 1
      src/teacher/main.ts
  3. 1 0
      src/tenant/main.ts

+ 2 - 0
src/student/main.ts

@@ -20,6 +20,8 @@ const app = createApp(App)
 
 // import Vconsole from 'vconsole'
 // const vconsole = new Vconsole()
+// 设置是否显示导航栏 0 显示 1 不显示
+postMessage({ api: 'setBarStatus', content: { status: 0 } })
 postMessage(
   {
     api: 'getVersion'

+ 1 - 1
src/teacher/main.ts

@@ -25,7 +25,7 @@ const app = createApp(App)
 //     };
 //   }
 // });
-
+postMessage({ api: 'setBarStatus', content: { status: 0 } })
 postMessage(
   {
     api: 'getVersion'

+ 1 - 0
src/tenant/main.ts

@@ -17,6 +17,7 @@ const app = createApp(App)
 
 // import Vconsole from 'vconsole'
 // const vconsole = new Vconsole()
+postMessage({ api: 'setBarStatus', content: { status: 0 } })
 postMessage(
   {
     api: 'getVersion'