人脸拍照修改&&东八时区修改

This commit is contained in:
lvyuankang 2025-02-25 15:43:26 +08:00
parent f4815003b0
commit 34292f2fc9
2 changed files with 10 additions and 1 deletions

View File

@ -217,7 +217,15 @@ export default struct FaceCompare {
})
}
}).catch(()=>{
console.log('Faceerror')
this.times++;
//3s后开始语音提示
this.vocObj.playAudio({
type: 1,
name: 'face_fail.mp3'
})
})
console.log('mmmmm8', 9)

View File

@ -422,7 +422,8 @@ export default struct SignDisplayCom {
const str2=this.signArr[93].substr(4.2)
this.signArr[93]=str2+str1+str0
this.GPSColum[10].value = this.signArr[93]
const hours=Number(this.signArr[94].substr(0,2))+8
this.signArr[94]=(hours>9?hours:'0'+hours)+this.signArr[94].substr(2,this.signArr[94].length-2)
// this.signArr[53]=192.168.7.170'
this.sjxhColum = JSON.parse(JSON.stringify((this.sjxhColum)))
that.signArr = JSON.parse(JSON.stringify((this.signArr)))