Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:recycle:

Vanessa22f12f3eeafb
diff --git a/app/src/protyle/util/compatibility.ts b/app/src/protyle/util/compatibility.ts
index 25b60f395e..099b3443e0 100644
--- a/app/src/protyle/util/compatibility.ts
+++ b/app/src/protyle/util/compatibility.ts
@@ -221,6 +221,11 @@ export const getLocalStorage = (cb: () => void) => {
}
});
cb();
+
+ // 数据兼容,移除历史数据,3.8.4 移除
+ fetchPost("/api/storage/removeLocalStorageVals", {
+ keys:["leftColumn", "local-searchedata", "local-searchekeys", "local-searchetabdata", "rightColumn", "topBar"]
+ });
});
};