mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-03-01 02:10:15 +01:00
This commit is contained in:
parent
2c476118c3
commit
1088cf163b
3 changed files with 91 additions and 4 deletions
|
|
@ -116,7 +116,7 @@ export const fileTree = {
|
|||
maxListCount: parseInt((fileTree.element.querySelector("#maxListCount") as HTMLInputElement).value),
|
||||
maxOpenTabCount: inputMaxOpenTabCount,
|
||||
}, response => {
|
||||
fileTree.onSetfiletree(response.data);
|
||||
window.siyuan.config.fileTree = response.data;
|
||||
});
|
||||
},
|
||||
bindEvent: () => {
|
||||
|
|
@ -127,8 +127,5 @@ export const fileTree = {
|
|||
fileTree._send();
|
||||
});
|
||||
});
|
||||
},
|
||||
onSetfiletree: (fileTree: Config.IFileTree) => {
|
||||
window.siyuan.config.fileTree = fileTree;
|
||||
}
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue