问题修改
This commit is contained in:
		
							parent
							
								
									d4140341fd
								
							
						
					
					
						commit
						7b5e773567
					
				
										
											Binary file not shown.
										
									
								
							| @ -53,7 +53,7 @@ export class CpuUsageMonitor { | ||||
|         let cpuUsage = this.calculateCpuUsage(prevCpuTimes, currCpuTimes); | ||||
|         hilog.info(0x0000, this.TAG, `Current CPU Usage: ${cpuUsage.toFixed(2)}%`); | ||||
|       }, 1000); // 等待1秒 | ||||
|     }, 1000) | ||||
|     }, 5000) | ||||
|   } | ||||
| } | ||||
| 
 | ||||
|  | ||||
| @ -36,8 +36,6 @@ export default class EntryAbility extends UIAbility { | ||||
|     // this.context | ||||
|     // Main window is created, set main page for this ability | ||||
|     hilog.info(0x0000, 'testTag', '%{public}s', 'Ability onWindowStageCreate'); | ||||
|     CpuUsageMonitor.printCpuUsage(); | ||||
|     await tcpUtil.init() | ||||
|     Logger.init() | ||||
| 
 | ||||
| 
 | ||||
|  | ||||
| @ -489,7 +489,6 @@ export default class Judge { | ||||
|       const msgStr = strArr[num]; | ||||
|       if (msgStr == '') { | ||||
|         console.info(judgeTag, '模拟数据考试结束') | ||||
|         // globalThis.windowClass.setWindowSystemBarEnable(['navigation'])
 | ||||
|         clearInterval(judgeTimer) | ||||
|         this.checkExamIsEnd(true) | ||||
|         return | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user