首次进入live页面时节目单改为异步加载

This commit is contained in:
mtvpls
2025-12-17 22:38:59 +08:00
parent 0cb192889e
commit fbe46f22e3

View File

@@ -383,9 +383,9 @@ function LivePageClient() {
setVideoUrl(channels[0].url);
}
// 获取初始频道的节目单
// 异步获取初始频道的节目单(不阻塞页面加载)
if (selectedChannel) {
await fetchEpgData(selectedChannel, source);
fetchEpgData(selectedChannel, source);
}
}