mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-05-19 02:21:38 +08:00
This commit is contained in:
parent
2f58714b79
commit
3adb7d9ad0
@ -221,7 +221,10 @@ const setDefaultStorage = (response: IWebSocketData) => {
|
||||
};
|
||||
|
||||
export const exportLocalStorage = (cb?: () => void) => {
|
||||
fetchPost("/api/storage/setLocalStorage", {val: window.siyuan.storage}, () => {
|
||||
fetchPost("/api/storage/setLocalStorage", {
|
||||
app: Constants.SIYUAN_APPID,
|
||||
val: window.siyuan.storage,
|
||||
}, () => {
|
||||
if (cb) {
|
||||
cb();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user