fix: 修改车道型号导致问题
This commit is contained in:
		
							parent
							
								
									658e59760b
								
							
						
					
					
						commit
						2a2fd3767d
					
				| @ -2,12 +2,13 @@ import SignalDisplayComponent from './compontents/SignalDisplay'; | ||||
| import router from '@ohos.router'; | ||||
| import TabComponent from './compontents/Tab'; | ||||
| import { PerLane } from '../model'; | ||||
| import { InitialPerLane } from '../mock'; | ||||
| 
 | ||||
| @Entry | ||||
| @Component | ||||
| struct SignDisplayPage { | ||||
|   @State active: number = 0 | ||||
|   @Link laneSignal: PerLane | ||||
|   @State laneSignal: PerLane = InitialPerLane | ||||
| 
 | ||||
|   build() { | ||||
|     Flex({ | ||||
|  | ||||
| @ -112,7 +112,7 @@ struct UserInfoPage { | ||||
|     customStyle: true, | ||||
|     autoCancel: true | ||||
|   }) | ||||
|   // 人脸对比弹窗 | ||||
|   //TODO 人脸对比弹窗 | ||||
|   faceCompareController: CustomDialogController = new CustomDialogController({ | ||||
|     builder: FaceRecognitionDialog({ | ||||
|       sfzh: this.currentUser.sfzmhm, | ||||
|  | ||||
| @ -111,7 +111,7 @@ export default struct FaceRecognitionDialog { | ||||
|     }) | ||||
|     if (result.imageCompareRsp?.head?.resultCode == '0') { | ||||
|       this.videoController.stop() | ||||
|       this.controller.close() | ||||
|       this.controller?.close() | ||||
|       this.FacialComparisonSuccess() | ||||
|       this.voiceController.playAudio({ | ||||
|         type: 1, | ||||
| @ -175,7 +175,7 @@ export default struct FaceRecognitionDialog { | ||||
|           type: 1, | ||||
|           name: 'face_chekc_fail.wav' | ||||
|         }) | ||||
|         this.controller.close() | ||||
|         this.controller?.close() | ||||
|       } | ||||
|     } | ||||
|   } | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user