diff --git a/src/lib/types.ts b/src/lib/types.ts index 9f3d523..94e4362 100644 --- a/src/lib/types.ts +++ b/src/lib/types.ts @@ -11,7 +11,7 @@ export interface PlayRecord { play_time: number; // 播放进度(秒) total_time: number; // 总进度(秒) save_time: number; // 记录保存时间(时间戳) - search_title?: string; // 搜索时使用的标题 + search_title: string; // 搜索时使用的标题 } // 收藏数据结构 @@ -22,7 +22,7 @@ export interface Favorite { year: string; cover: string; save_time: number; // 记录保存时间(时间戳) - search_title?: string; // 搜索时使用的标题 + search_title: string; // 搜索时使用的标题 } // 存储接口