mirror of
https://github.com/truewhile/MeBox.git
synced 2026-11-16 04:44:23 +08:00
优化媒体搜索页面与返回状态保留
This commit is contained in:
@@ -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/')
|
||||
|
||||
Reference in New Issue
Block a user