整合下载逻辑,修复下载历史记录和显示问题

This commit is contained in:
2025-09-29 12:15:02 +08:00
parent 9f25573bf8
commit 423d35d42d
10 changed files with 299 additions and 492 deletions
+6 -2
View File
@@ -82,7 +82,11 @@ class HistoryManager {
// 只保存关键信息
artwork_id: item.artwork_id,
artist_name: item.artist_name,
artwork_title: item.artwork_title
artist_id: item.artist_id,
artwork_title: item.artwork_title,
mode: item.mode,
ranking_type: item.ranking_type,
task_description: item.task_description
};
this.history.unshift(simplifiedItem);
@@ -219,4 +223,4 @@ class HistoryManager {
}
}
module.exports = HistoryManager;
module.exports = HistoryManager;