V 2024-05-24 10:10:49 +08:00 committed by Daniel
parent 1be46ef5fd
commit 9b14fe7bdb
No known key found for this signature in database
GPG key ID: 86211BA83DF03017
3 changed files with 12 additions and 7 deletions

View file

@ -48,7 +48,8 @@ export const getDocByScroll = (options: {
scrollAttr: IScrollAttr,
mergedOptions?: IOptions,
cb?: () => void
focus?: boolean
focus?: boolean,
updateReadonly?: boolean
}) => {
let actions: string[] = [];
if (options.mergedOptions) {
@ -80,7 +81,8 @@ export const getDocByScroll = (options: {
protyle: options.protyle,
action: actions,
scrollAttr: options.scrollAttr,
afterCB: options.cb
afterCB: options.cb,
updateReadonly: options.updateReadonly
});
});
} else {
@ -90,7 +92,8 @@ export const getDocByScroll = (options: {
protyle: options.protyle,
action: actions,
scrollAttr: options.scrollAttr,
afterCB: options.cb
afterCB: options.cb,
updateReadonly: options.updateReadonly
});
}
});
@ -109,7 +112,8 @@ export const getDocByScroll = (options: {
protyle: options.protyle,
action: actions,
scrollAttr: options.scrollAttr,
afterCB: options.cb
afterCB: options.cb,
updateReadonly: options.updateReadonly
});
});
};