Vanessa 2022-10-30 23:13:41 +08:00
parent 20e2e7b41a
commit b470885e75
21 changed files with 32 additions and 33 deletions

View file

@ -218,7 +218,7 @@ const switchEditor = (editor: Editor, options: IOpenFileOptions, allModels: IMod
fetchPost("/api/filetree/getDoc", {
id: options.id,
mode: (options.action && options.action.includes(Constants.CB_GET_CONTEXT)) ? 3 : 0,
size: Constants.SIZE_GET,
size: window.siyuan.config.editor.dynamicLoadBlocks,
}, getResponse => {
onGet(getResponse, editor.editor.protyle, options.action);
// 大纲点击折叠标题下的内容时,需更新反链面板