Vanessa 2025-09-13 09:15:06 +08:00
parent 2ff8c148bd
commit b70328c7e7
3 changed files with 9 additions and 0 deletions

View file

@ -282,6 +282,10 @@ const renderGroupTable = (options: ITableOptions) => {
};
const afterRenderTable = (options: ITableOptions) => {
if (options.blockElement.getAttribute("data-need-focus") === 'true') {
focusBlock(options.blockElement);
options.blockElement.removeAttribute("data-need-focus");
}
options.blockElement.setAttribute("data-render", "true");
options.blockElement.querySelector(".av__scroll").scrollLeft = options.resetData.left;
options.blockElement.style.alignSelf = options.resetData.alignSelf;