This commit is contained in:
Vanessa 2022-08-31 12:57:38 +08:00
parent 06cacf1311
commit 194a18fc95
7 changed files with 51 additions and 51 deletions

View file

@ -97,5 +97,7 @@ export const restoreScroll = (protyle: IProtyle, scrollAttr: IScrollAttr) => {
/// #endif
}
});
} else if (scrollAttr.scrollTop) {
protyle.contentElement.scrollTop = scrollAttr.scrollTop;
}
};