Compare commits

..

No commits in common. "811d3bda7a42d5891d31f0b9e3b30af459af8cf2" and "9364f0ae96a82f14f1b2a2e97aa54dcb2e8030ce" have entirely different histories.

View File

@ -139,7 +139,6 @@ export default struct FaceCompare {
.backgroundImageSize({ width: '100%', height: '100%' })
.onClick(() => {
this.controller.stop()
clearInterval(this.interval)
this.vocObj && this.vocObj.releasePlayer()
this.showFaceCompare = !this.showFaceCompare
this.showFaceCompareFlag = !this.showFaceCompareFlag
@ -251,9 +250,6 @@ export default struct FaceCompare {
}
}, 1000)
globalThis.udpClient2.setMsgCallBack((val) => {
if(globalThis.statue!=3){
return
}
if (val.id == '48') {
if (val.body[13] == '1') {
this.showFaceCompareFlag = !this.showFaceCompareFlag
@ -326,7 +322,7 @@ export default struct FaceCompare {
}
async aboutToDisappear() {
clearInterval(this.interval)
}
}