From 8cdb4dd0c5ee819f964e5c79322aaaf044b520e8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8C=83=E9=B9=8F?= Date: Fri, 14 Feb 2025 10:21:17 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E9=99=90=E6=97=B6=E5=AF=86?= =?UTF-8?q?=E7=A0=81=E6=97=A0=E6=B3=95=E5=BC=80=E9=94=81bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- stores/bluetooth.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/stores/bluetooth.js b/stores/bluetooth.js index fb3b814..b565b1a 100644 --- a/stores/bluetooth.js +++ b/stores/bluetooth.js @@ -336,9 +336,9 @@ export const useBluetoothStore = defineStore('ble', { restoreCount: decrypted[134] * 256 + decrypted[135], restoreDate: this.arrayToTimestamp(decrypted.slice(136, 140)), icPartNo: that.uint8ArrayToString(decrypted.slice(140, 150)), - indate: this.arrayToTimestamp(decrypted.slice(150, 154)), + indate: this.arrayToTimestamp(decrypted.slice(150, 154)) * 1000, mac: that.uint8ArrayToString(decrypted.slice(154, 174)), - timezoneOffset: new Date().getTimezoneOffset() * 60 + timezoneOffset: new Date().getTimezoneOffset() * -60 } that.updateCurrentLockInfo({ ...that.currentLockInfo,