优化媒体搜索页面与返回状态保留

This commit is contained in:
jason jia
2026-10-16 14:57:30 +00:00
parent 43cfeabea1
commit 8686d8cae6
9 changed files with 263 additions and 30 deletions
+1
View File
@@ -63,6 +63,7 @@ function writeScrollPosition(key: string, value: number): void {
export function shouldRememberScroll(pathname: string): boolean {
return (
pathname === '/' ||
pathname === '/search' ||
pathname === '/libraries' ||
pathname.startsWith('/library/') ||
pathname.startsWith('/media/')