fix: 修改车道型号导致问题

This commit is contained in:
wangzhongjie 2025-07-29 15:35:26 +08:00
parent 658e59760b
commit 2a2fd3767d
3 changed files with 5 additions and 4 deletions

View File

@ -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({

View File

@ -112,7 +112,7 @@ struct UserInfoPage {
customStyle: true,
autoCancel: true
})
// 人脸对比弹窗
//TODO 人脸对比弹窗
faceCompareController: CustomDialogController = new CustomDialogController({
builder: FaceRecognitionDialog({
sfzh: this.currentUser.sfzmhm,

View File

@ -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()
}
}
}