参考链接如下:https://developer.huawei.com/consumer/cn/doc/harmonyos-guides...参考代码:onWindowStageCreate(windowStage: window.WindowStage) { windowStage.getMainWindow().then((windowObj) => { windowObj.setWindowLayoutFullScreen(true); windowObj.setWindowSystemBarEnable(['status']) }); }
参考链接如下:https://developer.huawei.com/consumer/cn/doc/harmonyos-guides...
参考代码: