zhangbo1_wd

添加状态栏隐藏接口

@@ -135,6 +135,13 @@ export class WindowModel { @@ -135,6 +135,13 @@ export class WindowModel {
135 }) 135 })
136 } 136 }
137 137
  138 + /**
  139 + * 状态栏显示设置
  140 + */
  141 + setSpecificSystemBarEnabled(visible: boolean) {
  142 + this.windowClass?.setSpecificSystemBarEnabled('status', visible)
  143 + }
  144 +
138 setWindowSystemBarEnable(names: Array<'status' | 'navigation'>) { 145 setWindowSystemBarEnable(names: Array<'status' | 'navigation'>) {
139 this.windowClass?.setWindowSystemBarEnable(names) 146 this.windowClass?.setWindowSystemBarEnable(names)
140 } 147 }