🐞 fix: 修复构建时显示报错 #77

This commit is contained in:
imsyy
2024-09-20 10:29:42 +08:00
parent 36802252c0
commit c4772962f4

View File

@@ -44,7 +44,7 @@ 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 || null,
cover: v.cover ? v.pic_share : null,
desc: load(v.desc).text().trim(),
year: v.year,
timestamp: null,