修复限时密码无法开锁bug

This commit is contained in:
范鹏 2025-02-14 10:21:17 +08:00
parent 17e820fc62
commit 8cdb4dd0c5

View File

@ -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,