修复限时密码无法开锁bug
This commit is contained in:
parent
17e820fc62
commit
8cdb4dd0c5
@ -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,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user