🐞 fix: 修复启动异常

This commit is contained in:
imsyy
2024-12-04 09:10:52 +08:00
parent 098b80865b
commit 0cce0d6067
21 changed files with 28 additions and 28 deletions

View File

@@ -44,11 +44,11 @@ const getList = async (options: Options, noCache: boolean) => {
data: list.map((v: RouterType["history"], index: number) => ({
id: index,
title: load(v.title).text().trim(),
cover: v.cover ? v.pic_share : null,
cover: v.cover ? v.pic_share : undefined,
desc: load(v.desc).text().trim(),
year: v.year,
timestamp: null,
hot: null,
timestamp: undefined,
hot: undefined,
url: v.link,
mobileUrl: v.link,
})),