This commit is contained in:
Vanessa 2025-12-01 10:09:44 +08:00
parent 0987fe2150
commit a02b27b37f

View file

@ -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,