fix(web): After a new release, old dynamic chunk files are deleted; force a page reload on preload error

This commit is contained in:
zhaoying
2026-04-17 14:21:36 +08:00
parent 52f7ea7456
commit 58c13aaeb4
2 changed files with 13 additions and 2 deletions

View File

@@ -126,7 +126,6 @@ const PageScrollList = forwardRef(<T, Q = Record<string, unknown>>({
// 内容不足以填满容器时,主动继续加载
setTimeout(() => {
const el = scrollRef.current;
console.log(el, el?.scrollHeight, el?.clientHeight, hasMoreRef.current)
if (el && hasMoreRef.current && el.scrollHeight <= el.clientHeight) {
loadMoreData();
}