Compare commits
No commits in common. "5c622d32c84bcdc65014b52b6be49a76385ad354" and "c726ec81cd92dad09325f286b0cf346b53be847f" have entirely different histories.
5c622d32c8
...
c726ec81cd
@ -77,8 +77,9 @@ 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) {
|
||||
|
||||
@ -42,6 +42,7 @@ struct Index {
|
||||
}
|
||||
|
||||
async aboutToAppear() {
|
||||
globalThis.windowClass.setWindowSystemBarEnable([])
|
||||
const time = await getCurrentTime()
|
||||
|
||||
this.startTime = time.split(' ')[1]
|
||||
|
||||
@ -490,6 +490,7 @@ export default class Judge {
|
||||
const msgStr = strArr[num];
|
||||
if (msgStr == '') {
|
||||
console.info(judgeTag, '模拟数据考试结束')
|
||||
globalThis.windowClass.setWindowSystemBarEnable([])
|
||||
clearInterval(judgeTimer)
|
||||
this.checkExamIsEnd(true)
|
||||
return
|
||||
@ -1245,6 +1246,7 @@ 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)) &&
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user