feat: DramaBox 全量走 App 接口,清单可停止并避免卡死
分类按 App 翻页,精选走推荐接口。清单顶部显示进度,停止后不再拉新剧,已拿到的封面继续加载。列表只绘制可见卡片,避免大量剧目占满主线程。
This commit is contained in:
@@ -45,7 +45,7 @@ async function load() {
|
||||
episodes.value = Array.isArray(payload.episodes) ? payload.episodes : [];
|
||||
const first = episodes.value.find((item) => item.playable);
|
||||
if (!first) {
|
||||
error.value = "缓存和当前账号都没有可播放的集";
|
||||
error.value = episodes.value.find((item) => item.locked_reason)?.locked_reason || "没有可播放的集";
|
||||
return;
|
||||
}
|
||||
select(first);
|
||||
|
||||
Reference in New Issue
Block a user