问题修改

This commit is contained in:
lixiao 2025-04-23 14:39:10 +08:00
parent 47da6430c2
commit 38304a8eb2
3 changed files with 1 additions and 5 deletions

View File

@ -77,9 +77,8 @@ export default class EntryAbility extends UIAbility {
const windowClass = await windowStage.getMainWindow();
globalThis.windowClass = windowClass
// await windowClass.setWindowLayoutFullScreen(true)
await windowClass.setWindowLayoutFullScreen(true)
await windowClass.setWindowSystemBarEnable([]) //全屏
// await windowClass.setWindowSystemBarEnable(['navi gation'])
windowStage.loadContent('pages/Index', (err, data) => {
if (err.code) {

View File

@ -42,7 +42,6 @@ struct Index {
}
async aboutToAppear() {
globalThis.windowClass.setWindowSystemBarEnable([])
const time = await getCurrentTime()
this.startTime = time.split(' ')[1]

View File

@ -492,7 +492,6 @@ export default class Judge {
const msgStr = strArr[num];
if (msgStr == '') {
console.info(judgeTag, '模拟数据考试结束')
globalThis.windowClass.setWindowSystemBarEnable([])
clearInterval(judgeTimer)
this.checkExamIsEnd(true)
return
@ -1241,7 +1240,6 @@ export default class Judge {
// this.judgeUI.totalScore = isAllProjectsEnd ? totalScore : 0;
const singlePlay = globalThis.singlePlay
const param302 = judgeConfigObj['302'];
// globalThis.windowClass.setWindowSystemBarEnable(['navigation'])
//自动退出待验证并且不合格
if (!isManual && examSubject == 3 && (param302 == 1 || (singlePlay && param302 == 2)) &&