From 1e2f05b3a1a8cb9ea0fc5f7500ba8af28a209537 Mon Sep 17 00:00:00 2001 From: shinya Date: Fri, 18 Jul 2025 00:16:10 +0800 Subject: [PATCH] fix: fix null search_title --- src/lib/types.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; // 搜索时使用的标题 } // 存储接口