mirror of
https://github.com/imsyy/DailyHotApi.git
synced 2026-01-12 13:14:55 +08:00
🐞 fix: 修复构建时显示报错 #77
This commit is contained in:
@@ -44,7 +44,7 @@ const getList = async (options: Options, noCache: boolean) => {
|
|||||||
data: list.map((v: RouterType["history"], index: number) => ({
|
data: list.map((v: RouterType["history"], index: number) => ({
|
||||||
id: index,
|
id: index,
|
||||||
title: load(v.title).text().trim(),
|
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(),
|
desc: load(v.desc).text().trim(),
|
||||||
year: v.year,
|
year: v.year,
|
||||||
timestamp: null,
|
timestamp: null,
|
||||||
|
|||||||
Reference in New Issue
Block a user