From 33552ce38b78963223858f49428bb994fc536287 Mon Sep 17 00:00:00 2001 From: Vanessa Date: Mon, 13 May 2024 10:30:48 +0800 Subject: [PATCH] :art: https://github.com/siyuan-note/siyuan/issues/11307 --- app/src/protyle/scroll/saveScroll.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/src/protyle/scroll/saveScroll.ts b/app/src/protyle/scroll/saveScroll.ts index c399ab0d5..133898762 100644 --- a/app/src/protyle/scroll/saveScroll.ts +++ b/app/src/protyle/scroll/saveScroll.ts @@ -64,14 +64,14 @@ export const getDocByScroll = (options: { fetchPost("/api/filetree/getDoc", { id: options.scrollAttr.zoomInId, size: Constants.SIZE_GET_MAX, - key: options.protyle.query?.key, + query: options.protyle.query?.key, queryMethod: options.protyle.query?.method, queryTypes: options.protyle.query?.types, }, response => { if (response.code === 1) { fetchPost("/api/filetree/getDoc", { id: options.scrollAttr.rootId || options.mergedOptions?.blockId || options.protyle.block?.rootID || options.scrollAttr.startId, - key: options.protyle.query?.key, + query: options.protyle.query?.key, queryMethod: options.protyle.query?.method, queryTypes: options.protyle.query?.types, }, response => { @@ -100,7 +100,7 @@ export const getDocByScroll = (options: { id: options.scrollAttr.rootId || options.mergedOptions?.blockId || options.protyle.block?.rootID || options.scrollAttr.startId, startID: options.scrollAttr.startId, endID: options.scrollAttr.endId, - key: options.protyle.query?.key, + query: options.protyle.query?.key, queryMethod: options.protyle.query?.method, queryTypes: options.protyle.query?.types, }, response => {