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 router from '@ohos.router'; | ||||||
| import TabComponent from './compontents/Tab'; | import TabComponent from './compontents/Tab'; | ||||||
| import { PerLane } from '../model'; | import { PerLane } from '../model'; | ||||||
|  | import { InitialPerLane } from '../mock'; | ||||||
| 
 | 
 | ||||||
| @Entry | @Entry | ||||||
| @Component | @Component | ||||||
| struct SignDisplayPage { | struct SignDisplayPage { | ||||||
|   @State active: number = 0 |   @State active: number = 0 | ||||||
|   @Link laneSignal: PerLane |   @State laneSignal: PerLane = InitialPerLane | ||||||
| 
 | 
 | ||||||
|   build() { |   build() { | ||||||
|     Flex({ |     Flex({ | ||||||
|  | |||||||
| @ -112,7 +112,7 @@ struct UserInfoPage { | |||||||
|     customStyle: true, |     customStyle: true, | ||||||
|     autoCancel: true |     autoCancel: true | ||||||
|   }) |   }) | ||||||
|   // 人脸对比弹窗 |   //TODO 人脸对比弹窗 | ||||||
|   faceCompareController: CustomDialogController = new CustomDialogController({ |   faceCompareController: CustomDialogController = new CustomDialogController({ | ||||||
|     builder: FaceRecognitionDialog({ |     builder: FaceRecognitionDialog({ | ||||||
|       sfzh: this.currentUser.sfzmhm, |       sfzh: this.currentUser.sfzmhm, | ||||||
|  | |||||||
| @ -111,7 +111,7 @@ export default struct FaceRecognitionDialog { | |||||||
|     }) |     }) | ||||||
|     if (result.imageCompareRsp?.head?.resultCode == '0') { |     if (result.imageCompareRsp?.head?.resultCode == '0') { | ||||||
|       this.videoController.stop() |       this.videoController.stop() | ||||||
|       this.controller.close() |       this.controller?.close() | ||||||
|       this.FacialComparisonSuccess() |       this.FacialComparisonSuccess() | ||||||
|       this.voiceController.playAudio({ |       this.voiceController.playAudio({ | ||||||
|         type: 1, |         type: 1, | ||||||
| @ -175,7 +175,7 @@ export default struct FaceRecognitionDialog { | |||||||
|           type: 1, |           type: 1, | ||||||
|           name: 'face_chekc_fail.wav' |           name: 'face_chekc_fail.wav' | ||||||
|         }) |         }) | ||||||
|         this.controller.close() |         this.controller?.close() | ||||||
|       } |       } | ||||||
|     } |     } | ||||||
|   } |   } | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user