fix: fix null search_title

This commit is contained in:
shinya
2025-07-18 00:16:10 +08:00
parent 880b6282c0
commit 1e2f05b3a1

View File

@@ -11,7 +11,7 @@ export interface PlayRecord {
play_time: number; // 播放进度(秒) play_time: number; // 播放进度(秒)
total_time: number; // 总进度(秒) total_time: number; // 总进度(秒)
save_time: number; // 记录保存时间(时间戳) save_time: number; // 记录保存时间(时间戳)
search_title?: string; // 搜索时使用的标题 search_title: string; // 搜索时使用的标题
} }
// 收藏数据结构 // 收藏数据结构
@@ -22,7 +22,7 @@ export interface Favorite {
year: string; year: string;
cover: string; cover: string;
save_time: number; // 记录保存时间(时间戳) save_time: number; // 记录保存时间(时间戳)
search_title?: string; // 搜索时使用的标题 search_title: string; // 搜索时使用的标题
} }
// 存储接口 // 存储接口