mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-16 14:40:12 +01:00
🐛
This commit is contained in:
parent
0987fe2150
commit
a02b27b37f
1 changed files with 3 additions and 3 deletions
|
|
@ -85,7 +85,7 @@ export const getDocByScroll = (options: {
|
||||||
highlight: !isSupportCSSHL(),
|
highlight: !isSupportCSSHL(),
|
||||||
}, response => {
|
}, response => {
|
||||||
onGet({
|
onGet({
|
||||||
scrollPosition: options.mergedOptions.scrollPosition,
|
scrollPosition: options.mergedOptions?.scrollPosition,
|
||||||
data: response,
|
data: response,
|
||||||
protyle: options.protyle,
|
protyle: options.protyle,
|
||||||
action: actions,
|
action: actions,
|
||||||
|
|
@ -99,7 +99,7 @@ export const getDocByScroll = (options: {
|
||||||
} else {
|
} else {
|
||||||
actions.push(Constants.CB_GET_ALL);
|
actions.push(Constants.CB_GET_ALL);
|
||||||
onGet({
|
onGet({
|
||||||
scrollPosition: options.mergedOptions.scrollPosition,
|
scrollPosition: options.mergedOptions?.scrollPosition,
|
||||||
data: response,
|
data: response,
|
||||||
protyle: options.protyle,
|
protyle: options.protyle,
|
||||||
action: actions,
|
action: actions,
|
||||||
|
|
@ -123,7 +123,7 @@ export const getDocByScroll = (options: {
|
||||||
highlight: !isSupportCSSHL(),
|
highlight: !isSupportCSSHL(),
|
||||||
}, response => {
|
}, response => {
|
||||||
onGet({
|
onGet({
|
||||||
scrollPosition: options.mergedOptions.scrollPosition,
|
scrollPosition: options.mergedOptions?.scrollPosition,
|
||||||
data: response,
|
data: response,
|
||||||
protyle: options.protyle,
|
protyle: options.protyle,
|
||||||
action: actions,
|
action: actions,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue