diff --git a/starCloud.js b/starCloud.js index e698068..2b732b6 100644 --- a/starCloud.js +++ b/starCloud.js @@ -1180,13 +1180,12 @@ export const useStarCloudStore = defineStore('starCloud', { } const { code, data, message } = await getLockSettingDataRequest({ - lockId: lockId + lockId }) if (code === Result.Success.code) { return new Result(code, { ...data.lockFeature }, message) - } else { - return new Result(code, data, message) } + return new Result(code, data, message) }, /** @@ -1301,7 +1300,6 @@ export const useStarCloudStore = defineStore('starCloud', { setStorage('starCloudToken', this.accountInfo.token) - this.getServerTimestamp().then(() => {}) return Result.Success }