From c12547f6fdaac0684061f6ba5225703dba305847 Mon Sep 17 00:00:00 2001 From: Vanessa Date: Wed, 17 May 2023 12:38:31 +0800 Subject: [PATCH] :bug: fix https://github.com/siyuan-note/siyuan/issues/8285 --- app/src/protyle/scroll/saveScroll.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/protyle/scroll/saveScroll.ts b/app/src/protyle/scroll/saveScroll.ts index df1267990..2703a4bd4 100644 --- a/app/src/protyle/scroll/saveScroll.ts +++ b/app/src/protyle/scroll/saveScroll.ts @@ -75,7 +75,7 @@ export const getDocByScroll = (options: { return; } fetchPost("/api/filetree/getDoc", { - id: options.mergedOptions?.blockId || options.protyle.block?.rootID || options.scrollAttr.startId, + id: options.scrollAttr.rootId || options.mergedOptions?.blockId || options.protyle.block?.rootID || options.scrollAttr.startId, startID: options.scrollAttr.startId, endID: options.scrollAttr.endId, }, response => {