Vanessa 2025-08-22 12:00:28 +08:00
parent f4d11c59a2
commit 1d7a3abf28
2 changed files with 2 additions and 4 deletions

View file

@ -181,8 +181,7 @@ const afterRenderGallery = (options: ITableOptions) => {
});
Object.keys(options.resetData.pageSizes).forEach((groupId) => {
if (groupId === "unGroup") {
(options.blockElement.querySelector(".av__body") as HTMLElement).dataset.pageSize = options.resetData.pageSizes[groupId];
return;
groupId = "";
}
const bodyElement = options.blockElement.querySelector(`.av__body[data-group-id="${groupId}"]`) as HTMLElement;
if (bodyElement) {

View file

@ -343,8 +343,7 @@ const afterRenderTable = (options: ITableOptions) => {
});
Object.keys(options.resetData.pageSizes).forEach((groupId) => {
if (groupId === "unGroup") {
(options.blockElement.querySelector(".av__body") as HTMLElement).dataset.pageSize = options.resetData.pageSizes[groupId];
return;
groupId = "";
}
const bodyElement = options.blockElement.querySelector(`.av__body[data-group-id="${groupId}"]`) as HTMLElement;
if (bodyElement) {