mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-17 23:20:13 +01:00
This commit is contained in:
parent
a717029b84
commit
ca6088ac36
2 changed files with 8 additions and 2 deletions
|
|
@ -327,7 +327,10 @@ const afterRenderTable = (options: ITableOptions) => {
|
|||
(options.blockElement.querySelector(".av__body") as HTMLElement).dataset.pageSize = options.resetData.pageSizes[groupId];
|
||||
return;
|
||||
}
|
||||
(options.blockElement.querySelector(`.av__body[data-group-id="${groupId}"]`) as HTMLElement).dataset.pageSize = options.resetData.pageSizes[groupId];
|
||||
const bodyElement = options.blockElement.querySelector(`.av__body[data-group-id="${groupId}"]`) as HTMLElement;
|
||||
if (bodyElement) {
|
||||
bodyElement.dataset.pageSize = options.resetData.pageSizes[groupId];
|
||||
}
|
||||
});
|
||||
if (options.resetData.dragFillId) {
|
||||
addDragFill(options.blockElement.querySelector(`.av__row[data-id="${options.resetData.dragFillId.split(Constants.ZWSP)[0]}"] .av__cell[data-col-id="${options.resetData.dragFillId.split(Constants.ZWSP)[1]}"]`));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue