From e5276a30857fe976aebc9c2f4b89aeffeea4d622 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8C=83=E9=B9=8F?= Date: Sat, 14 Dec 2024 17:35:59 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E8=87=AA=E5=AE=9A?= =?UTF-8?q?=E4=B9=89=E5=AF=86=E7=A0=81=E7=9B=B8=E5=85=B3bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- starCloud.js | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/starCloud.js b/starCloud.js index 358fea7..e949fd1 100644 --- a/starCloud.js +++ b/starCloud.js @@ -557,10 +557,14 @@ export const useStarCloudStore = defineStore('starCloud', { let { pwdNo, operate, keyboardPwd, startDate, endDate, pwdRight } = password if (operate === 0 || operate === 1) { - const checkPasswordResult = await this.checkPasswordRequest({ + const checkPasswordParams = { lockId: this.lockInfo.lockId, keyboardPwd - }) + } + if (password.keyboardPwdId) { + checkPasswordParams.keyboardPwdId = password.keyboardPwdId + } + const checkPasswordResult = await this.checkPasswordRequest(checkPasswordParams) if (checkPasswordResult.code === -3) { return Result.ReadyHasPassword }