This commit is contained in:
Developer
2026-03-14 18:25:13 +08:00
parent fb819798b1
commit ff659dcef7
13 changed files with 516 additions and 314 deletions

View File

@@ -52,7 +52,9 @@ export function useVideoDetail(bvid: string) {
// 登录状态变化时重新拉取清晰度列表(登录后可能获得更高画质)
useEffect(() => {
if (cidRef.current) {
fetchPlayData(cidRef.current, 120, true).catch(() => {});
fetchPlayData(cidRef.current, 120, true).catch((e) => {
console.warn('Failed to refresh quality list after login change:', e);
});
}
}, [isLoggedIn]);