mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-22 09:30:14 +01:00
This commit is contained in:
parent
7e753908b8
commit
bfcdf3c352
5 changed files with 85 additions and 44 deletions
|
|
@ -171,6 +171,9 @@ export const getLocalStorage = (cb:()=>void) => {
|
|||
keepFold: false,
|
||||
mergeSubdocs: false,
|
||||
};
|
||||
defaultStorage[Constants.LOCAL_EXPORTIMG] = {
|
||||
keepFold: false,
|
||||
};
|
||||
defaultStorage[Constants.LOCAL_DOCINFO] = {
|
||||
id: "",
|
||||
action: []
|
||||
|
|
@ -202,7 +205,7 @@ export const getLocalStorage = (cb:()=>void) => {
|
|||
};
|
||||
defaultStorage[Constants.LOCAL_ZOOM] = 1;
|
||||
|
||||
[Constants.LOCAL_SEARCHEKEYS, Constants.LOCAL_PDFTHEME, Constants.LOCAL_BAZAAR, Constants.LOCAL_EXPORTWORD,
|
||||
[Constants.LOCAL_EXPORTIMG, Constants.LOCAL_SEARCHEKEYS, Constants.LOCAL_PDFTHEME, Constants.LOCAL_BAZAAR, Constants.LOCAL_EXPORTWORD,
|
||||
Constants.LOCAL_EXPORTPDF, Constants.LOCAL_DOCINFO, Constants.LOCAL_FONTSTYLES, Constants.LOCAL_SEARCHEDATA,
|
||||
Constants.LOCAL_ZOOM,].forEach((key) => {
|
||||
if (typeof response.data[key] === "string") {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue