mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-03-10 14:42:33 +01:00
This commit is contained in:
parent
1be46ef5fd
commit
9b14fe7bdb
3 changed files with 12 additions and 7 deletions
|
|
@ -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
|
||||
});
|
||||
});
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue