From b9d1dca65d6262aa1c45da472f0248da1ac04b6a Mon Sep 17 00:00:00 2001 From: lloydzhou Date: Sat, 13 Jul 2024 21:30:31 +0800 Subject: [PATCH 1/3] update version v2.13.0 --- src-tauri/tauri.conf.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src-tauri/tauri.conf.json b/src-tauri/tauri.conf.json index 6230ba41f..f20bfbb74 100644 --- a/src-tauri/tauri.conf.json +++ b/src-tauri/tauri.conf.json @@ -9,7 +9,7 @@ }, "package": { "productName": "NextChat", - "version": "2.12.4" + "version": "2.13.0" }, "tauri": { "allowlist": { @@ -112,4 +112,4 @@ } ] } -} \ No newline at end of file +} From fdf02982de66e6089c63875b9e7e42cdfca831f9 Mon Sep 17 00:00:00 2001 From: cbmland Date: Sun, 14 Jul 2024 12:48:21 +0800 Subject: [PATCH 2/3] feat:clean --- app/store/sync.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/store/sync.ts b/app/store/sync.ts index 77ddb309c..10f42ec3a 100644 --- a/app/store/sync.ts +++ b/app/store/sync.ts @@ -109,7 +109,7 @@ export const useSyncStore = createPersistStore( return; } else { let parsedRemoteState = JSON.parse(await client.get(config.username)); - parsedRemoteState["access-control"] = accessStore; + parsedRemoteState[StoreKey.Access] = accessStore; //console.log("parsedRemoteState------", parsedRemoteState); mergeAppState(localState, parsedRemoteState); From 21c69fdf9c07d6ead4441248c6f57f8067f65149 Mon Sep 17 00:00:00 2001 From: cbmland Date: Sun, 14 Jul 2024 12:53:39 +0800 Subject: [PATCH 3/3] just trigger build --- app/store/sync.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/app/store/sync.ts b/app/store/sync.ts index 10f42ec3a..77d6ee78d 100644 --- a/app/store/sync.ts +++ b/app/store/sync.ts @@ -99,6 +99,7 @@ export const useSyncStore = createPersistStore( const client = this.getClient(); //console.log("===== accessStore", accessStore); + try { const remoteState = await client.get(config.username); if (!remoteState || remoteState === "") {