mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-03-10 14:42:33 +01:00
Merge remote-tracking branch 'origin/dev' into dev
This commit is contained in:
commit
249f836d9e
54 changed files with 3772 additions and 430 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue