From 6613ad29d140e1d7650c1749a626f838e460d57c Mon Sep 17 00:00:00 2001 From: liyi Date: Thu, 12 Jun 2025 17:29:09 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E4=BF=AE=E5=A4=8D=E5=B7=B2=E6=B3=A8?= =?UTF-8?q?=E5=86=8C=E7=9A=84=E5=8D=A1=E7=89=87=E9=87=8D=E5=A4=8D=E6=B3=A8?= =?UTF-8?q?=E5=86=8C=E6=B2=A1=E6=9C=89=E5=9B=9E=E8=B0=83=E7=9A=84=E9=94=99?= =?UTF-8?q?=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- common.js | 6 ++++++ env.js | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/common.js b/common.js index cb70656..004a91b 100644 --- a/common.js +++ b/common.js @@ -1033,6 +1033,7 @@ export async function parsingCharacteristicValue(binaryData) { break; } } else { + emitRegisterCardConfirmEvent(new Result(Result.Fail.code, null, decrypted[2])) this.characteristicValueCallback(new Result(decrypted[2])) } break; @@ -1110,6 +1111,7 @@ export async function parsingCharacteristicValue(binaryData) { await this.disconnectDevice() } } else { + emitRegisterCardConfirmEvent(new Result(Result.Fail.code, null, decrypted[2])) this.characteristicValueCallback(new Result(decrypted[2])) } break; @@ -1183,6 +1185,7 @@ export async function parsingCharacteristicValue(binaryData) { // 断开蓝牙连接 await this.disconnectDevice() } else { + emitRegisterCardConfirmEvent(new Result(Result.Fail.code, null, decrypted[2])) this.characteristicValueCallback(new Result(decrypted[2])) } break; @@ -1254,6 +1257,7 @@ export async function parsingCharacteristicValue(binaryData) { break; } } else { + emitRegisterCardConfirmEvent(new Result(Result.Fail.code, null, decrypted[2])) this.characteristicValueCallback(new Result(decrypted[2])) } break; @@ -1323,6 +1327,7 @@ export async function parsingCharacteristicValue(binaryData) { break; } } else { + emitRegisterCardConfirmEvent(new Result(Result.Fail.code, null, decrypted[2])) this.characteristicValueCallback(new Result(decrypted[2])) } break; @@ -1398,6 +1403,7 @@ export async function parsingCharacteristicValue(binaryData) { } break; default: + this.characteristicValueCallback(new Result(decrypted[2])) break } break diff --git a/env.js b/env.js index b49c483..3fdcc18 100644 --- a/env.js +++ b/env.js @@ -1,7 +1,7 @@ // uni版本号 -export const uniVersion = '1.0.16' +export const uniVersion = '1.0.17' // uni构建号 -export const uniBuildNumber = 17 +export const uniBuildNumber = 18 // web版本号 export const webVersion = '1.0.1'