Merge remote-tracking branch 'origin/dev' into dev

This commit is contained in:
Vanessa 2024-06-12 22:32:24 +08:00
commit 249f836d9e
54 changed files with 3772 additions and 430 deletions

View file

@ -287,6 +287,10 @@ export const getLocalStorage = (cb: () => void) => {
};
export const setStorageVal = (key: string, val: any) => {
if (window.siyuan.config.readonly) {
return;
}
fetchPost("/api/storage/setLocalStorageVal", {
app: Constants.SIYUAN_APPID,
key,