Skip to content

Commit 2030772

Browse files
authored
Update sync.ts
1 parent ba01141 commit 2030772

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

app/store/sync.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,6 @@ export const useSyncStore = createPersistStore(
152152
try {
153153
const decompressedValue = await decompress(Buffer.from(remoteState, 'latin1')); // 解压数据 (从latin1解码)
154154
console.log("[Sync] 云端下载解压缩回来之后localState的内容-粗版", decompressedValue); // 添加这行代码!
155-
console.log("[Sync] 解析出的远程 Config Models:", JSON.stringify(parsedRemoteState[StoreKey.Config].models.map(m => m.name)));
156155
const parsedRemoteState = JSON.parse(decompressedValue) as AppState; // 解析 JSON
157156
console.log("[Sync] 解析出的远程 Config Models:", JSON.stringify(parsedRemoteState[StoreKey.Config].models.map(m => m.name)));
158157
console.log("[Sync] 解析出的远程 Config customModels:", JSON.stringify(parsedRemoteState[StoreKey.Config].customModels));

0 commit comments

Comments
 (0)