From 64e75d39a6fbe876ff3e68ce09345891e58c2027 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8C=83=E9=B9=8F?= Date: Thu, 12 Dec 2024 09:15:54 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E7=A7=9F=E5=AE=A2=E9=92=A5=E5=8C=99?= =?UTF-8?q?=E6=97=B6=E9=97=B4=E4=B8=8D=E8=B6=B36=E5=B0=8F=E6=97=B6?= =?UTF-8?q?=EF=BC=8C=E7=A6=81=E6=AD=A2=E8=8E=B7=E5=8F=96=E5=8D=95=E6=AC=A1?= =?UTF-8?q?=E9=92=A5=E5=8C=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- starCloud.js | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/starCloud.js b/starCloud.js index 2b732b6..44202ce 100644 --- a/starCloud.js +++ b/starCloud.js @@ -1986,21 +1986,6 @@ export const useStarCloudStore = defineStore('starCloud', { } characteristicValueCallback(new Result(decrypted[6], { lock: this.lockInfo })) break - case cmdIds.resetDevice: - this.updateLockInfo({ - token: decrypted.slice(2, 6), - electricQuantity: decrypted[7], - electricQuantityStandby: decrypted[9] - }) - if (decrypted[6] === Result.Success.code) { - updateElectricQuantityRequest({ - lockId: this.lockInfo.lockId, - electricQuantity: decrypted[7], - electricQuantityStandby: decrypted[9] - }) - } - characteristicValueCallback(new Result(decrypted[6], { lock: this.lockInfo })) - break case cmdIds.resetDevice: this.updateLockInfo({ token: decrypted.slice(2, 6)