fix:singlePlay取值修改
This commit is contained in:
		
							parent
							
								
									b81ce1baf2
								
							
						
					
					
						commit
						cfa7a100ff
					
				| @ -689,7 +689,8 @@ export default class Judge { | |||||||
|     this.modelPath = JudgeConfig.modelPath; |     this.modelPath = JudgeConfig.modelPath; | ||||||
|     this.trajectoryPath = JudgeConfig.trajectoryPath; |     this.trajectoryPath = JudgeConfig.trajectoryPath; | ||||||
| 
 | 
 | ||||||
|     this.isExam = !this.judgeUI.singlePlay; |     //TODO 临时改动 | ||||||
|  |     this.isExam = !AppStorage.get<boolean>('singlePlay')!; | ||||||
|     (judgeUI.examSubject == '2' ? testKm2Items : testKm3Items).forEach(item => { |     (judgeUI.examSubject == '2' ? testKm2Items : testKm3Items).forEach(item => { | ||||||
|       const projectCenterObj: ProjectInfo = Reflect.get(judgeUI.projectsCenterObj, item.code) |       const projectCenterObj: ProjectInfo = Reflect.get(judgeUI.projectsCenterObj, item.code) | ||||||
| 
 | 
 | ||||||
| @ -698,6 +699,7 @@ export default class Judge { | |||||||
|         status: projectCenterObj === undefined ? 0 : (projectCenterObj.isEnd ? 3 : 1) |         status: projectCenterObj === undefined ? 0 : (projectCenterObj.isEnd ? 3 : 1) | ||||||
|       }) |       }) | ||||||
|     }) |     }) | ||||||
|  |     console.info('surenjun  this.isExam=>',this.isExam) | ||||||
| 
 | 
 | ||||||
|     dConsole.info(JudgeTag + 'testKmItems', JSON.stringify(this.kmItems)) |     dConsole.info(JudgeTag + 'testKmItems', JSON.stringify(this.kmItems)) | ||||||
|     this.isExamEnd = false; |     this.isExamEnd = false; | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user